|
|
@@ -1,5 +1,6 @@
|
|
|
package com.payment.platform.module.payment.enterprise.service;
|
|
|
|
|
|
+import com.alibaba.fastjson.JSONObject;
|
|
|
import com.alipay.api.AlipayApiException;
|
|
|
import com.alipay.api.domain.*;
|
|
|
import com.alipay.api.request.*;
|
|
|
@@ -44,7 +45,7 @@ public class AlipayEnterpriseService {
|
|
|
alipayClientFactory.getClientByProvider(Long.valueOf(data.get("service_provider_id").toString())).execute(request);
|
|
|
|
|
|
if (!response.isSuccess()) {
|
|
|
- log.error("支付宝邀请码申请失败: {} - {}", response.getCode(), response.getMsg());
|
|
|
+ log.error("支付宝邀请码申请失败: {}", JSONObject.toJSONString(response));
|
|
|
throw new BusinessException(400, "申请邀请码失败: " + response.getMsg());
|
|
|
}
|
|
|
|