|
|
@@ -251,7 +251,14 @@ export const useUserStore = defineStore('user', {
|
|
|
* @param orderNumber
|
|
|
*/
|
|
|
handleCommonMiniProgram(orderNumber: string) {
|
|
|
- window.location.href = `weixin://dl/business/?appid=wx43b5b906cc30ed0b&path=subPack-refueling/orderDetaile/index&query=${orderNumber}&env_version=release`
|
|
|
+ const query = {
|
|
|
+ orderNumber,
|
|
|
+ source: 'H5',
|
|
|
+ }
|
|
|
+ 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=release`
|
|
|
},
|
|
|
async handleCommonGoXiaoJuPay(orderNumber: string) {
|
|
|
try {
|