hjl
2024-07-01 03c6572c7918beaa20365e69c9694a11f0d9948a
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());