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