提交 73a13133 编写于 作者: 雪洛's avatar 雪洛

fix: web端屏蔽requestPayment

上级 0323f44f
...@@ -1386,7 +1386,7 @@ ...@@ -1386,7 +1386,7 @@
"enablePullDownRefresh": false "enablePullDownRefresh": false
} }
}, },
// #ifdef APP || WEB // #ifdef APP
{ {
"path": "pages/API/request-payment/request-payment", "path": "pages/API/request-payment/request-payment",
"style": { "style": {
...@@ -1394,6 +1394,8 @@ ...@@ -1394,6 +1394,8 @@
"enablePullDownRefresh": false "enablePullDownRefresh": false
} }
}, },
// #endif
// #ifdef APP || WEB
{ {
"path": "pages/API/request-payment-uni-pay/request-payment-uni-pay", "path": "pages/API/request-payment-uni-pay/request-payment-uni-pay",
"style": { "style": {
......
...@@ -119,7 +119,7 @@ ...@@ -119,7 +119,7 @@
}) })
let url = 'https://demo.dcloud.net.cn/payment/wxpayv3.__UNI__uniappx/?total=0.01' let url = 'https://demo.dcloud.net.cn/payment/wxpayv3.__UNI__uniappx/?total=0.01'
const res = uni.getAppBaseInfo(); const res = uni.getAppBaseInfo();
let packageName:string | null = '' let packageName:string | null
// #ifdef APP-ANDROID // #ifdef APP-ANDROID
packageName = res.packageName packageName = res.packageName
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册