修改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 // #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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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