Browse Source

no message

FengChaoYu 8 months ago
parent
commit
6b9164d163

+ 1 - 2
mall-server-api/src/main/java/com/gree/mall/manager/config/MyBatisPlusConfig.java

@@ -3,7 +3,6 @@ package com.gree.mall.manager.config;
 import com.baomidou.mybatisplus.annotation.DbType;
 import com.baomidou.mybatisplus.extension.plugins.MybatisPlusInterceptor;
 import com.baomidou.mybatisplus.extension.plugins.inner.BlockAttackInnerInterceptor;
-import com.baomidou.mybatisplus.extension.plugins.inner.IllegalSQLInnerInterceptor;
 import com.baomidou.mybatisplus.extension.plugins.inner.PaginationInnerInterceptor;
 import com.gree.mall.manager.constant.Constant;
 import org.slf4j.Logger;
@@ -74,7 +73,7 @@ public class MyBatisPlusConfig {
         MybatisPlusInterceptor interceptor = new MybatisPlusInterceptor();
         interceptor.addInnerInterceptor(paginationInnerInterceptor());
         // 添加非法SQL拦截器
-        interceptor.addInnerInterceptor(new IllegalSQLInnerInterceptor());
+//        interceptor.addInnerInterceptor(new IllegalSQLInnerInterceptor());
         // 阻止全表更新删除
         interceptor.addInnerInterceptor(new BlockAttackInnerInterceptor());
         // 自定义权限拦截器