Przeglądaj źródła

add 根据groupType 查进行中订单

周箭河 5 lat temu
rodzic
commit
54cd1110c6

+ 2 - 2
mec-student/src/main/java/com/ym/mec/student/controller/StudentOrderController.java

@@ -151,8 +151,8 @@ public class StudentOrderController extends BaseController {
             @ApiImplicitParam(name = "payChannel", value = "支付方式(alipay-支付宝app支付)", required = true, dataType = "String"),
     })
     public Object executePayment(BigDecimal amount, String orderNo, String payChannel, String notifyUrl, String returnUrl, String orderSubject, String orderBody, String sign, String code) throws Exception {
-        String appId = "wx80f175c0eb6836e9";
-        String appSecret = "f817dc79e4149aaa4fafd6f8279b3593";
+        String appId = "wx751141096e75a4ee";
+        String appSecret = "e882d76c95d1613607a85338b1bed3ff";
         String wxMpOAuth2AccessTokenUrl = "https://api.weixin.qq.com/sns/oauth2/access_token?appid=%s&secret=%s&code=%s&grant_type=authorization_code";
         //payChannel = PayChannelEnum.ALIPAY_QR.getCode();
 //        if (!new Pay().verifySign(amount, orderNo, notifyUrl, orderSubject, orderBody,sign)) {

+ 1 - 1
mec-thirdparty/src/main/java/com/ym/mec/thirdparty/adapay/Pay.java

@@ -135,7 +135,7 @@ public class Pay {
 
         if (openid != null && !openid.isEmpty()) {
             PaymentExpend expend = new PaymentExpend();
-            expend.setWxAppId("wx80f175c0eb6836e9");
+            expend.setWxAppId("wx751141096e75a4ee");
             expend.setOpenId(openid);
             expend.setIsRaw("0");
             paymentParams.put("expend", expend);