修改payType值wechatPay改为WECHAT,aliPay改为ALIPAY
This commit is contained in:
@@ -14,11 +14,11 @@ export const pay = (data) => {
|
||||
// #ifdef MP-WEIXIN
|
||||
platformType = "WX";
|
||||
platformType = "wechat";
|
||||
payType = "wechatPay";
|
||||
payType = "WECHAT";
|
||||
// #endif
|
||||
// #ifdef MP-ALIPAY
|
||||
platformType = "alipay";
|
||||
payType = "aliPay";
|
||||
payType = "ALIPAY";
|
||||
// #endif
|
||||
|
||||
|
||||
|
||||
@@ -10,11 +10,11 @@ let platformType = '';
|
||||
let payType = '';
|
||||
// #ifdef MP-WEIXIN
|
||||
platformType = 'wechat'
|
||||
payType = 'wechatPay'
|
||||
payType = 'WECHAT'
|
||||
// #endif
|
||||
// #ifdef MP-ALIPAY
|
||||
platformType = 'alipay'
|
||||
payType = 'aliPay'
|
||||
payType = 'ALIPAY'
|
||||
// #endif
|
||||
|
||||
export const getPackage = (data) => {
|
||||
|
||||
@@ -6,11 +6,11 @@ let platformType = '';
|
||||
let payType='';
|
||||
// #ifdef MP-WEIXIN
|
||||
platformType = 'wechat'
|
||||
payType='wechatPay'
|
||||
payType='WECHAT'
|
||||
// #endif
|
||||
// #ifdef MP-ALIPAY
|
||||
platformType = 'alipay'
|
||||
payType='aliPay'
|
||||
payType='ALIPAY'
|
||||
// #endif
|
||||
|
||||
export const warePage = (data) => {
|
||||
|
||||
@@ -6,11 +6,11 @@ let platformType = '';
|
||||
let payType='';
|
||||
// #ifdef MP-WEIXIN
|
||||
platformType = 'wechat'
|
||||
payType='wechatPay'
|
||||
payType='WECHAT'
|
||||
// #endif
|
||||
// #ifdef MP-ALIPAY
|
||||
platformType = 'alipay'
|
||||
payType='aliPay'
|
||||
payType='ALIPAY'
|
||||
// #endif
|
||||
|
||||
//订单列表
|
||||
|
||||
@@ -6,11 +6,11 @@ let platformType = '';
|
||||
let payType='';
|
||||
// #ifdef MP-WEIXIN
|
||||
platformType = 'wechat'
|
||||
payType='wechatPay'
|
||||
payType='WECHAT'
|
||||
// #endif
|
||||
// #ifdef MP-ALIPAY
|
||||
platformType = 'alipay'
|
||||
payType='aliPay'
|
||||
payType='ALIPAY'
|
||||
// #endif
|
||||
|
||||
export const pointGoodsPage = (data) => {
|
||||
|
||||
@@ -97,7 +97,7 @@ const paymentMethodList = ref([
|
||||
name: "微信支付",
|
||||
type: 2,
|
||||
url: "https://czg-qr-order.oss-cn-beijing.aliyuncs.com/confirmOrder/weChat.png",
|
||||
payType: "wechatPay",
|
||||
payType: "WECHAT",
|
||||
},
|
||||
// #endif
|
||||
// #ifdef MP-ALIPAY
|
||||
|
||||
@@ -577,7 +577,7 @@
|
||||
name: "微信支付",
|
||||
type: 2,
|
||||
url: "https://czg-qr-order.oss-cn-beijing.aliyuncs.com/confirmOrder/weChat.png",
|
||||
payType: "wechatPay",
|
||||
payType: "WECHAT",
|
||||
};
|
||||
// #endif
|
||||
// #ifdef MP-ALIPAY
|
||||
|
||||
@@ -316,7 +316,7 @@
|
||||
const paymentmethod = reactive({
|
||||
radiovalue: 2,
|
||||
paymentBtnText: "微信支付",
|
||||
payType: 'wechatPay'
|
||||
payType: 'WECHAT'
|
||||
})
|
||||
|
||||
const groupChange = async (e) => {
|
||||
|
||||
@@ -25,7 +25,7 @@ export const Memberpay = defineStore('memberpay', {
|
||||
let res = await APIpayltPayVip({
|
||||
...data,
|
||||
// #ifdef MP-WEIXIN
|
||||
payType: 'wechatPay',
|
||||
payType: 'WECHAT',
|
||||
openId: uni.cache.get('userInfo').wechatOpenId,
|
||||
// #endif
|
||||
// #ifdef MP-ALIPAY
|
||||
@@ -113,7 +113,7 @@ export const Memberpay = defineStore('memberpay', {
|
||||
}
|
||||
},
|
||||
// #ifdef MP-WEIXIN
|
||||
payType: 'wechatPay',
|
||||
payType: 'WECHAT',
|
||||
openId: uni.cache.get('userInfo').wechatOpenId,
|
||||
// #endif
|
||||
// #ifdef MP-ALIPAY
|
||||
|
||||
Reference in New Issue
Block a user