Commit 4979ce8b authored by xc's avatar xc

shiro 拦截规则修复

parent c57174fb
......@@ -137,7 +137,8 @@ public class KickoutSessionControlFilter extends AccessControlFilter{
String url = request.getRequestURI();
boolean result = null != request.getHeader("identity") && request.getHeader("identity").equals("miniprogram");
boolean result1 = url.indexOf("/login")!=-1 || url.indexOf("/user/valid")!=-1 || url.indexOf("/user/sendSms")!=-1;
return result || result1;
boolean resultPay=url.indexOf("pay/aliPayCallBack.do")!=-1 || url.indexOf("pay/wxPayCallBack.do")!=-1;
return result || result1 || resultPay;
}
public void changeSession(int type){
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment