|
|
|
@@ -90,6 +90,7 @@ public class WxRefundV3AdapterService implements RefundPayAdapterService{ |
|
|
|
req.setOut_trade_no(payOrder.getPayOrderNo()); |
|
|
|
log.error("ceshi+"+JSON.toJSONString(record)); |
|
|
|
req.setOut_refund_no(String.valueOf(record.getId())); |
|
|
|
log.error("ceshi+"+JSON.toJSONString(payType)); |
|
|
|
try { |
|
|
|
req.setReason(WxPayV3.handleChinese(payType.getMessage())); |
|
|
|
} catch (UnsupportedEncodingException e) { |
|
|
|
@@ -102,6 +103,7 @@ public class WxRefundV3AdapterService implements RefundPayAdapterService{ |
|
|
|
req.setAmount(amount); |
|
|
|
List<V3PayRefundGoodsReq> goods = new ArrayList<V3PayRefundGoodsReq>(); |
|
|
|
WxOrder order = wxOrderService.getById(orderId, payAccount.getTenantId()); |
|
|
|
log.error("ceshi+"+JSON.toJSONString(order)); |
|
|
|
V3PayRefundGoodsReq gr = new V3PayRefundGoodsReq(); |
|
|
|
try { |
|
|
|
gr.setGoods_name(WxPayV3.handleChinese("商品"+order.getProductId())); |
|
|
|
|