소스 검색

接口过滤

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;
        }