添加日志

master
jiahuiwen 2021-09-02 19:18:50 +08:00
parent 4406a164e6
commit 855e20ff54
1 changed files with 3 additions and 3 deletions

View File

@ -116,12 +116,12 @@ public class GetUserController extends HttpServlet {
String gid = request.getParameter("gid"); //gid
String pid = request.getParameter("pid"); //pid
String channel = request.getParameter("channel");
String sub_channel = request.getParameter("sub_channel");
/*if (StringUtils.checkIsEmpty(admin)) {
response.sendError(400, "platform is empety");
return;
}*/
LOGGER.info("the opendId = {},token={},platform={} admin=>{} channel=>{}",openId,token,platform,admin,channel);
LOGGER.info("the opendId = {},token={},platform={} admin=>{} channel=>{} sub_channel={}",openId,token,platform,admin,channel,sub_channel);
if(serviceMap == null){
LOGGER.info("serviceMap is null");
}
@ -131,7 +131,6 @@ public class GetUserController extends HttpServlet {
channel="MHT";
}
boolean verify = false;
String sub_channel = request.getParameter("sub_channel");
if (!AppConstans.appsecret.equals(admin) && "MHT".equals(channel)
&& !"3".equals(platform) && !"1000".equals(sub_channel) && !"20201222".equals(sub_channel)) {
LdVerifyServiceStr instance = LdVerifyServiceStr.getInstance();
@ -148,6 +147,7 @@ public class GetUserController extends HttpServlet {
returnErrorToFront(res, response, msg);
return;
}
verify = true;
}
} else {
verify = serviceMap.get(channel).verify(response, request, admin, platform, pid, openId, token);