瀏覽代碼

接口过滤

chenyongxing 6 年之前
父節點
當前提交
3b8407ce37
共有 1 個文件被更改,包括 4 次插入4 次删除
  1. 4 4
      gateway/ag-basic/src/main/java/com/yihu/jw/gateway/filter/BasicZuulFilter.java

+ 4 - 4
gateway/ag-basic/src/main/java/com/yihu/jw/gateway/filter/BasicZuulFilter.java

@ -65,10 +65,10 @@ public class BasicZuulFilter extends ZuulFilter {
                || url.contains("/base/wechat/")//微信
                || url.contains("/patient/wxBase/")//微信
                || url.contains("/patient/wx/")//微信页面不拦截
                || url.contains("/basePatient/regist/")//注册
                || url.contains("/basePatient/forgetPwd/")//忘记密码
                || url.contains("/basePatient/sendCaptcha/")//发送短信
                || url.contains("/sms_gateway/send/")//发送短信
                || url.contains("/basePatient/regist")//注册
                || url.contains("/basePatient/forgetPwd")//忘记密码
                || url.contains("/basePatient/sendCaptcha")//发送短信
                || url.contains("/sms_gateway/send")//发送短信
                || url.contains("/open/")) {//开发接口
            return true;
        }