|
@@ -139,7 +139,9 @@ public class UserGatewayImpl implements UserGateway {
|
|
|
log.info("微信登录返回结果:{}", res);
|
|
|
JSONObject obj = JSONObject.parseObject(res);
|
|
|
String openId = Objects.requireNonNull(obj).getString("openid");
|
|
|
+ log.info("openId:{}", openId);
|
|
|
String unionId = Objects.requireNonNull(obj).getString("unionid");
|
|
|
+ log.info("unionId:{}", unionId);
|
|
|
|
|
|
UserInfoWxRes userInfoWxRes = new UserInfoWxRes();
|
|
|
userInfoWxRes.setOpenId(openId);
|