|
|
@@ -257,7 +257,10 @@ export const useUserStore = defineStore('user', {
|
|
|
const queryString = Object.entries(query)
|
|
|
.map(([key, value]) => `${encodeURIComponent(key)}=${encodeURIComponent(value)}`)
|
|
|
.join('&')
|
|
|
- window.location.href = `weixin://dl/business/?appid=wx43b5b906cc30ed0b&path=subPack-refueling/orderDetaile/index&query=${queryString}&env_version=trial`
|
|
|
+ this.handleCommonWx('subPack-refueling/orderDetaile/index', queryString)
|
|
|
+ },
|
|
|
+ handleCommonWx(path: string, queryString: string) {
|
|
|
+ window.location.href = `weixin://dl/business/?appid=wx43b5b906cc30ed0b&path=${path}&query=${queryString}&env_version=trial`
|
|
|
},
|
|
|
async handleCommonGoXiaoJuPay(orderNumber: string) {
|
|
|
try {
|