|
@@ -36,12 +36,13 @@ export default defineComponent({
|
|
|
const payMap: any = {
|
|
|
merOrderNo: state.orderNo,
|
|
|
paymentChannel: state.pay_channel, // 支付渠道
|
|
|
- userId: state.userId
|
|
|
+ userId: state.userId,
|
|
|
+ code: state.code
|
|
|
};
|
|
|
- // // 判断是否是微信公众号支付
|
|
|
- if (state.pay_channel == 'wx_pub') {
|
|
|
- payMap.code = state.code;
|
|
|
- }
|
|
|
+ // 判断是否是微信公众号支付
|
|
|
+ // if (state.pay_channel == 'wx_pub') {
|
|
|
+ // payMap.code = state.code;
|
|
|
+ // }
|
|
|
const { data } = await request.post(
|
|
|
'/edu-app/open/userOrder/executePayment',
|
|
|
{
|