This commit is contained in:
weipengfei 2024-05-07 09:12:58 +08:00
parent a8fae1ab1c
commit ddadedf2a5
2 changed files with 6 additions and 6 deletions

View File

@ -261,11 +261,11 @@
}).then(res=>{
uni.requestPayment({
provider: 'wxpay',
timeStamp: res.data.config.timeStamp,
nonceStr: res.data.config.nonceStr,
package: res.data.config.package,
signType: res.data.config.signType,
paySign: res.data.config.paySign,
timeStamp: res.data.timeStamp,
nonceStr: res.data.nonceStr,
package: res.data.package,
signType: res.data.signType,
paySign: res.data.paySign,
success: (e) => {
if(e.errMsg == 'requestPayment:ok'){
uni.showModal({

View File

@ -20,7 +20,7 @@ const useUserStore = defineStore("user", () => {
}
// #ifdef H5
token.value = "aba1d819e38fa087f52a6ddfd1b61f30"
token.value = "31f74a72e2d05673ec14d2a6408718ef"
userInfo.value = {
avatar: "https://lihaiim.oss-cn-chengdu.aliyuncs.com/image/admin/default_avatar.png",
id: 9,