修改payType值wechatPay改为WECHAT,aliPay改为ALIPAY

This commit is contained in:
2026-01-20 10:07:58 +08:00
parent 373be0527f
commit 32c60b4f83
9 changed files with 15 additions and 15 deletions

View File

@@ -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

View File

@@ -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) => {

View File

@@ -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) => {

View File

@@ -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
//订单列表

View File

@@ -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) => {

View File

@@ -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

View File

@@ -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

View File

@@ -316,7 +316,7 @@
const paymentmethod = reactive({
radiovalue: 2,
paymentBtnText: "微信支付",
payType: 'wechatPay'
payType: 'WECHAT'
})
const groupChange = async (e) => {

View File

@@ -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