|
@@ -796,6 +796,9 @@ public class OrderDonServiceImpl extends ServiceImpl<OrderDonMapper, OrderDon> i
|
|
|
}
|
|
}
|
|
|
String outRefundNo = "";
|
|
String outRefundNo = "";
|
|
|
if (OrderDon.Type.EX_CODE != orderDon.getType()) {
|
|
if (OrderDon.Type.EX_CODE != orderDon.getType()) {
|
|
|
|
|
+ if (orderDon.getPopularizeId() == null) {
|
|
|
|
|
+ orderDon.setShopId(null);
|
|
|
|
|
+ }
|
|
|
//支付宝退款
|
|
//支付宝退款
|
|
|
AlipayClient alipayClient = AliPayCommon.getAlipayClient(shopConfigMapper.getByAppId(Optional.ofNullable(orderDon.getShopId()).orElse(ShopConfig.ZFB_DEFAULT_APP_ID)));
|
|
AlipayClient alipayClient = AliPayCommon.getAlipayClient(shopConfigMapper.getByAppId(Optional.ofNullable(orderDon.getShopId()).orElse(ShopConfig.ZFB_DEFAULT_APP_ID)));
|
|
|
AlipayTradeRefundRequest request = new AlipayTradeRefundRequest();
|
|
AlipayTradeRefundRequest request = new AlipayTradeRefundRequest();
|