添加默认避免登录失败

lvxinran 2021-07-23 21:27:07 +08:00
parent 3082654210
commit 8b0401f92a
1 changed files with 3 additions and 0 deletions

View File

@ -121,6 +121,9 @@ public class GetUserController extends HttpServlet {
}
try {
//根据前端发过来的种类进行校验
if(channel==null||channel.equals("")){
channel="MHT";
}
boolean verify = serviceMap.get(channel).verify(response, request, admin, platform, pid, openId, token);
if(!verify){