generated from root/miduo_server
增加log
parent
09ec0996aa
commit
5b60a19757
|
@ -115,7 +115,7 @@ public class Tcx027VerifyService extends AbstractVerifyService {
|
|||
|
||||
String doVerifyGetOpenId(VerifyParams params) {
|
||||
String url = "http://sdk.user.i.027gm.com/game/verify/login";
|
||||
LOGGER.info("027登录验证-->{}",params.getOpenId());
|
||||
LOGGER.error("027登录验证-->{}",params.getOpenId());
|
||||
Map<String,String> parms = new HashMap<>();
|
||||
String token = params.getToken();
|
||||
String appId = params.getAppId();
|
||||
|
@ -125,7 +125,7 @@ public class Tcx027VerifyService extends AbstractVerifyService {
|
|||
parms.put("sign",sign);
|
||||
try {
|
||||
String r = HttpUtils.doPost(url, parms);
|
||||
LOGGER.info("027登录结果:{}",r);
|
||||
LOGGER.error("027登录结果:{}",r);
|
||||
JSONObject jsonObject = JSON.parseObject(r);
|
||||
int status = jsonObject.getIntValue("status");
|
||||
if(status == 1 ){
|
||||
|
@ -143,7 +143,7 @@ public class Tcx027VerifyService extends AbstractVerifyService {
|
|||
}
|
||||
}
|
||||
}catch (IOException e){
|
||||
LOGGER.info("027验证失败,{}",e.getMessage());
|
||||
LOGGER.error("027验证失败,{}",e.getMessage());
|
||||
return null;
|
||||
}
|
||||
return null;
|
||||
|
|
Loading…
Reference in New Issue