|
@@ -98,11 +98,11 @@ public class AlipayFaceAuthServiceImpl extends BaseService implements AlipayFace
|
|
|
userInfo = new AlipayUserInfo();
|
|
|
}
|
|
|
|
|
|
-
|
|
|
- if (alipayUserInfoDto.getAlipayUid() != null && alipayUserInfoDto.getFtoken() != null && !"".equals(alipayUserInfoDto.getFtoken().trim())) {
|
|
|
- String photoBase64 = alipayUserApi.getPhotoBase64ByFtoken(alipayClient, alipayUserInfoDto.getFtoken(), "2", thirdAppAuthToken, alipayUserInfoDto.getAlipayUid());
|
|
|
- userInfo.setPhotoBase64(photoBase64);
|
|
|
- }
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
log.info("--->获取支付宝用户信息响应参数:{}", JSONObject.toJSONString(userInfo));
|
|
|
return userInfo;
|
|
|
}
|
|
@@ -181,11 +181,11 @@ public class AlipayFaceAuthServiceImpl extends BaseService implements AlipayFace
|
|
|
userInfo = new AlipayUserInfo();
|
|
|
}
|
|
|
|
|
|
-
|
|
|
- if (alipayUserInfoDto.getAlipayUid() != null && alipayUserInfoDto.getFtoken() != null && !"".equals(alipayUserInfoDto.getFtoken().trim())) {
|
|
|
- String photoBase64 = alipayUserApi.getPhotoBase64ByFtoken(alipayClient, alipayUserInfoDto.getFtoken(), "2", null, alipayUserInfoDto.getAlipayUid());
|
|
|
- userInfo.setPhotoBase64(photoBase64);
|
|
|
- }
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
log.info("--->获取支付宝用户信息响应参数:{}", JSONObject.toJSONString(userInfo));
|
|
|
return userInfo;
|
|
|
}
|