|
|
@ -3808,7 +3808,7 @@ public class ClientManagerImpl implements ClientManager, ManagerTodoNoticeProvid
|
|
|
|
if (StringUtils.isBlank(representative_id.getString("representative_id"))) {
|
|
|
|
if (StringUtils.isBlank(representative_id.getString("representative_id"))) {
|
|
|
|
throw new BadRequestException("ID or passport number can't be null");
|
|
|
|
throw new BadRequestException("ID or passport number can't be null");
|
|
|
|
}
|
|
|
|
}
|
|
|
|
client.put("representative_id", representative_id);
|
|
|
|
client.put("representative_id", representative_id.getString("representative_id"));
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
AlipayConfig.AlipayMerchant mch = AlipayEnvironment.getEnv().getAlipayRetailMerchant();
|
|
|
|
AlipayConfig.AlipayMerchant mch = AlipayEnvironment.getEnv().getAlipayRetailMerchant();
|
|
|
@ -3861,7 +3861,7 @@ public class ClientManagerImpl implements ClientManager, ManagerTodoNoticeProvid
|
|
|
|
if (StringUtils.isBlank(representative_id.getString("representative_id"))) {
|
|
|
|
if (StringUtils.isBlank(representative_id.getString("representative_id"))) {
|
|
|
|
throw new BadRequestException("ID or passport number can't be null");
|
|
|
|
throw new BadRequestException("ID or passport number can't be null");
|
|
|
|
}
|
|
|
|
}
|
|
|
|
client.put("representative_id", representative_id);
|
|
|
|
client.put("representative_id", representative_id.getString("representative_id"));
|
|
|
|
|
|
|
|
|
|
|
|
AlipayConfig.AlipayMerchant mch = AlipayEnvironment.getEnv().getAlipayOnlineMerchant();
|
|
|
|
AlipayConfig.AlipayMerchant mch = AlipayEnvironment.getEnv().getAlipayOnlineMerchant();
|
|
|
|
Element resultElement = alipayClient.registerOnlineGmsPortal(mch.getPid(), client);
|
|
|
|
Element resultElement = alipayClient.registerOnlineGmsPortal(mch.getPid(), client);
|
|
|
|