msb_prod
ch 2 years ago
parent 68bfe7a148
commit 89940a4d5a

@ -2,7 +2,7 @@
* @Author: ch
* @Date: 2022-07-08 11:46:30
* @LastEditors: ch
* @LastEditTime: 2022-07-12 16:56:52
* @LastEditTime: 2022-07-13 10:48:05
* @Description: file content
*/
@ -15,7 +15,6 @@ import '@/common/utils/uniUtilsIndex'
// 微信打开需要授权
const ua = navigator ? navigator.userAgent.toLowerCase() : '';
if (ua.includes('micromessenger')) {
const openId = uni.getStorageSync('payOpenId')
if (!openId) {

@ -3,12 +3,14 @@
{
"path": "pages/wapPay",
"style": {
"navigationStyle" : "custom",
"navigationBarTitleText": "收银台"
}
},
{
"path": "pages/wapResult",
"style": {
"navigationStyle" : "custom",
"navigationBarTitleText": "收银台"
}
}

@ -2,7 +2,7 @@
* @Author: ch
* @Date: 2022-07-08 11:46:30
* @LastEditors: ch
* @LastEditTime: 2022-07-12 17:02:01
* @LastEditTime: 2022-07-13 17:45:53
* @Description: file content
-->
<template>
@ -102,6 +102,7 @@ const ENV = process.env;
signType : par.signType,
paySign : par.paySign
}, async (res) => {
console.log(res);
if(res.errMsg !== 'get_brand_wcpay_request:cancel'){
if(res.errMsg !== 'get_brand_wcpay_request:ok'){
await uni._$toast(res.errMsg || '调起支付错误');

@ -1,21 +0,0 @@
<!--
* @Author: ch
* @Date: 2022-07-12 16:14:27
* @LastEditors: ch
* @LastEditTime: 2022-07-12 16:16:01
* @Description: file content
-->
<!DOCTYPE html>
<html>
<body>
<a href="https://payment.mashibing.com/?payOrderNo=prepay00006">跳转</a>
<a href="https://payment.mashibing.com/?payOrderNo=prepay00002">跳转222</a>
</body>
</html>
<style>
a{
margin: 100px auto;
display: block;
width: 50px;
}
</style>
Loading…
Cancel
Save