ruoyi-service/ruoyi-admin/src/main/java/com/ruoyi/admin/service/impl/AgreementServiceImpl.java
@@ -22,8 +22,8 @@ @Override public R<Agreement> dataInfo(Integer type) { if (!Constants.ZERO.equals(type) && !Constants.ONE.equals(type) && !Constants.TWO.equals(type)) { return R.fail("查询类型异常!(0注册协议;1:隐私政策;2:司机操作指导)"); if (!Constants.ZERO.equals(type) && !Constants.ONE.equals(type) && !Constants.TWO.equals(type) && !Constants.THREE.equals(type)) { return R.fail("查询类型异常!(0注册协议;1:隐私政策;2:司机操作指导;3:服务规则管理)"); } return R.ok(lambdaQuery().eq(Agreement::getContentType, type).one()); }