Commit 44321da8 authored by jiaorz's avatar jiaorz

Merge branch 'master-auto-pay' into base-modify

parents 045a2eb7 5a6e7f81
......@@ -91,8 +91,9 @@ public class AppUserAlipayBiz extends BaseBiz<AppUserAlipayMapper, AppUserAlipay
}
String result = thirdFeign.getAliPayUserInfo(code).getData();
if (StringUtils.isNotBlank(result)) {
log.info("【支付宝】用户授权获取用户token, {}", result);
JSONObject jsonObject = JSONObject.parseObject(result);
if (jsonObject != null && jsonObject.getString("code").equals("10000")) {
if (jsonObject != null && jsonObject.getString("code") != null && jsonObject.getString("code").equals("10000")) {
String account = jsonObject.getString("userId");
if (account != null) {
appUserAlipay.setTxAlipay(account);
......
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