Bladeren bron

接口过滤

chenyongxing 6 jaren geleden
bovenliggende
commit
3b8407ce37
1 gewijzigde bestanden met toevoegingen van 4 en 4 verwijderingen
  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;
        }