Bläddra i källkod

增加活动接口

周箭河 5 år sedan
förälder
incheckning
3ebff06204

+ 1 - 0
src/main/java/com/ym/mec/collectfee/controller/YqPayController.java

@@ -621,6 +621,7 @@ public class YqPayController extends BaseController {
                 renewBean.setIn(order.getAmount());
                 renewBean.setOut(new BigDecimal(0));
                 renewBean.setWay(30);
+                renewBean.setRemark("11.11小课活动");
                 applyInfoService.pushRenew(renewBean);
                 return;
             }

+ 1 - 1
src/main/java/com/ym/mec/collectfee/service/impl/OrderServiceImpl.java

@@ -152,7 +152,7 @@ public class OrderServiceImpl extends BaseServiceImpl<Integer, Order> implements
             returnUrl = this.returnHost + "/#/login?schoolId=" + school.getSchoolId() + "&cityId=" + school.getCityId();//支付后返回页面
         }
         if(order.getPromotionType().equals(1)){
-            returnUrl = this.returnHost+ "/#/paymentResult";
+            returnUrl = this.returnHost+ "/#/paymentResult?orderNo="+order.getOrderNo();
         }
         String payUrl = "https://qyfapi.95epay.com/api/api/hPay/toPayHtml";//支付跳转页
         String payChannels = "{\"weChatPay\":true,\"weChatPayMobile\":false,\"aliPay\":true,\"fastpayXy\":true,\"aliPayMobile\":false,\"balancePay\":false}";//支付方式配置