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