记得上下班打卡 | git大法好,push需谨慎

Commit 91ecf13e authored by 张国柄's avatar 张国柄

fix:get openid;

parent 2192fa79
......@@ -343,7 +343,7 @@ public class AdamLoginController {
if (null == respJNode) {
return ResponseDto.success(null);
}
openId = String.valueOf(respJNode.get("openid"));
openId = respJNode.get("openid").asText();
} catch (Exception e) {
log.error("WX.API调用异常", e);
}
......@@ -363,7 +363,7 @@ public class AdamLoginController {
if (null == respJNode || !respJNode.get("errcode").isEmpty()) {
return ResponseDto.success(null);
}
openId = String.valueOf(respJNode.get("openid"));
openId = respJNode.get("openid").asText();
} catch (Exception e) {
log.error("WX.API调用异常", e);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment