|
@@ -146,9 +146,12 @@ public class Payment {
|
|
|
|
|
|
public static BaseResult<Map<String ,Object>> refundPayment(Map<String, Object> refundParams) {
|
|
|
|
|
|
+ LOGGER.info("退款对象信息:{}",refundParams);
|
|
|
+ String transNo = refundParams.get("transNo").toString();
|
|
|
+ refundParams.remove("transNo");
|
|
|
Map<String, Object> res;
|
|
|
try {
|
|
|
- res = Refund.create(refundParams.get("transNo").toString(), refundParams);
|
|
|
+ res = Refund.create(transNo, refundParams);
|
|
|
} catch (BaseAdaPayException e) {
|
|
|
return BaseResult.failed(e.getMessage());
|
|
|
}
|