Explorar el Código

默认申请退款

gongfuzhu hace 7 meses
padre
commit
fd852794a4

+ 5 - 1
SpringBatchServiceServer/src/main/java/com/zswl/cloud/springBtach/server/core/service/YppService.java

@@ -239,7 +239,11 @@ public class YppService {
                         applicantRefundParam2Model.setId(kfcgoodsResultModel.getId());
                         applicantRefundParam2Model.setRemark("点餐退款:" + kfcRefundAmount);
                         applicantRefundParam2Model.setUserId(kfcgoodsResultModel.getUserId());
-                        paymentService2.refund(applicantRefundParam2Model);
+                        try {
+
+                            paymentService2.applicantRefund(applicantRefundParam2Model);
+                        } catch (Exception e) {
+                        }
                         break;
                 }
                 orderService2.updateGoods(kfcupdateGoodsModel);