Merge branch 'tkk' into test
This commit is contained in:
@@ -112,7 +112,7 @@ public class LoginContoller {
|
||||
// 2.开发者服务器 登录凭证校验接口 appi + appsecret + code
|
||||
JSONObject wxResp = WechatUtil.getSessionKeyOrOpenId(code, customAppId, customSecrete);
|
||||
Integer errCode = wxResp.getInteger("errcode");
|
||||
log.debug("微信获取openid响应报文:{}", wxResp.toJSONString());
|
||||
log.info("微信获取openid响应报文:{}", wxResp.toJSONString());
|
||||
if (errCode.intValue() != 0) {
|
||||
return Result.fail("登录失败:" + wxResp.getString("errmsg"));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user