mirror of
https://github.com/ZSCNetSupportDept/WechatTicketSystem.git
synced 2026-03-28 18:41:59 +08:00
remove operator login
This commit is contained in:
@@ -27,11 +27,4 @@ public class Checker {
|
||||
return s == null ? null : s.getAttribute(Attribute.AUTHORIZED) == c ? s : null;
|
||||
}
|
||||
|
||||
public static WxSession isOperator(HttpServletRequest r) {
|
||||
String t = r.getParameter("token");
|
||||
if (t == null || t.isEmpty()) return null;
|
||||
WxSession s = WechatSession.get(t, false);
|
||||
return s == null ? null : s.getAttribute(Attribute.OPERATOR) == null ? null : s;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user