Browse Source

修改参数

lex-xin 4 months ago
parent
commit
64c993696f

+ 2 - 1
src/views/adapay/pay-define/index.tsx

@@ -37,7 +37,8 @@ export default defineComponent({
           merOrderNo: state.orderNo,
           paymentChannel: state.pay_channel, // 支付渠道
           userId: state.userId,
-          code: state.code
+          code: state.code,
+          wxPubAppId: state.wxAppId
         };
         // 判断是否是微信公众号支付
         // if (state.pay_channel == 'wx_pub') {

+ 2 - 1
src/views/adapay/pay-result-wechat/index.tsx

@@ -81,7 +81,8 @@ export default defineComponent({
           merOrderNo: state.orderNo,
           paymentChannel: state.pay_channel, // 支付渠道
           userId: state.userId,
-          code: state.code
+          code: state.code,
+          wxPubAppId: state.wxAppId
         };
         //     // 判断是否是微信公众号支付
         // if (state.pay_channel == 'wx_pub') {

+ 2 - 1
src/views/adapay/pay-result/index.tsx

@@ -81,7 +81,8 @@ export default defineComponent({
           merOrderNo: state.orderNo,
           paymentChannel: state.pay_channel, // 支付渠道
           userId: state.userId,
-          code: state.code
+          code: state.code,
+          wxPubAppId: state.wxAppId
         };
         //     // 判断是否是微信公众号支付
         // if (state.pay_channel == 'wx_pub') {

+ 2 - 1
src/views/adapay/payment/index.tsx

@@ -117,7 +117,8 @@ export default defineComponent({
           merOrderNo: props.paymentConfig.orderNo,
           paymentChannel: payChannel, // 支付渠道
           paymentType: paymentType,
-          userId: props.paymentConfig.userId
+          userId: props.paymentConfig.userId,
+          wxPubAppId: props.paymentConfig.wxAppId
         };
 
         const { data } = await request.post(