|
@@ -166,14 +166,13 @@ public class AlipayOpenApiServiceImpl extends BaseService implements AlipayOpenA
|
|
|
AlipayUserStateOpenApiRequest userStateRequest = new AlipayUserStateOpenApiRequest();
|
|
|
userStateRequest.setIsvPid(openApiRequest.getIsvPid());
|
|
|
userStateRequest.setOrgOutId(openApiRequest.getOrgOutId());
|
|
|
+ userStateRequest.setAppId(openApiRequest.getAppId());
|
|
|
userStateRequest.setVid(vid);
|
|
|
Boolean existed = queryUserState(userStateRequest);
|
|
|
-
|
|
|
- userStateRequest.setAppId(openApiRequest.getAppId());
|
|
|
openApiRequest.setIsvPid(Preconditions.isNotBlank(openApiRequest.getIsvPid()) ? openApiRequest.getIsvPid() : userStateRequest.getAppId());
|
|
|
- openApiRequest.setOrgOutId(Preconditions.isNotBlank(openApiRequest.getIsvPid()) ? openApiRequest.getIsvPid() : userStateRequest.getAppId());
|
|
|
+ openApiRequest.setOrgOutId(Preconditions.isNotBlank(openApiRequest.getOrgOutId()) ? openApiRequest.getOrgOutId() : userStateRequest.getOrgOutId());
|
|
|
openApiRequest.setComponentOutId(Preconditions.isNotBlank(openApiRequest.getComponentOutId()) ? openApiRequest.getComponentOutId() : getComponentOutId("common"));
|
|
|
-
|
|
|
+ openApiRequest.setAppId(Preconditions.isNotBlank(openApiRequest.getAppId()) ? openApiRequest.getAppId() : userStateRequest.getAppId());
|
|
|
AlipayOpenIotvspUserwithimageResponse userwithimageResponse = new AlipayOpenIotvspUserwithimageResponse();
|
|
|
if (existed != null && existed) {
|
|
|
log.error("--->用户{}信息已入库vid:{}", openApiRequest.getCertName(), vid);
|