mengchengzhen 2021-07-21 18:31:10 +08:00
commit b9d06e90c7
1 changed files with 3 additions and 0 deletions

View File

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