mirror of
https://codeup.aliyun.com/67c68d4e484ca2f0a13ac3c1/ydc/jsowell-charger-web.git
synced 2026-04-21 03:25:12 +08:00
update 重试订单退款接口
This commit is contained in:
@@ -701,7 +701,7 @@ public class AdapayMemberService {
|
||||
*
|
||||
* @return
|
||||
*/
|
||||
public List<PaymentReverse> queryPaymentReverse(String paymentId, String wechatAppId) throws BaseAdaPayException {
|
||||
public List<PaymentReverseResponse> queryPaymentReverse(String paymentId, String wechatAppId) throws BaseAdaPayException {
|
||||
AbstractAdapayConfig config = AdapayConfigFactory.getConfig(wechatAppId);
|
||||
if (config == null) {
|
||||
throw new BusinessException(ReturnCodeEnum.CODE_ADAPAY_CONFIG_IS_NULL_ERROR);
|
||||
@@ -711,7 +711,7 @@ public class AdapayMemberService {
|
||||
reverse.put("app_id", config.getAdapayAppId());
|
||||
Map<String, Object> response = PaymentReverse.queryList(reverse, config.getWechatAppId());
|
||||
JSONObject jsonObject = JSON.parseObject(JSON.toJSONString(response));
|
||||
List<PaymentReverse> payment_reverses = jsonObject.getList("payment_reverses", PaymentReverse.class);
|
||||
List<PaymentReverseResponse> payment_reverses = jsonObject.getList("payment_reverses", PaymentReverseResponse.class);
|
||||
return payment_reverses;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user