This commit is contained in:
parent
a8fae1ab1c
commit
ddadedf2a5
|
@ -261,11 +261,11 @@
|
||||||
}).then(res=>{
|
}).then(res=>{
|
||||||
uni.requestPayment({
|
uni.requestPayment({
|
||||||
provider: 'wxpay',
|
provider: 'wxpay',
|
||||||
timeStamp: res.data.config.timeStamp,
|
timeStamp: res.data.timeStamp,
|
||||||
nonceStr: res.data.config.nonceStr,
|
nonceStr: res.data.nonceStr,
|
||||||
package: res.data.config.package,
|
package: res.data.package,
|
||||||
signType: res.data.config.signType,
|
signType: res.data.signType,
|
||||||
paySign: res.data.config.paySign,
|
paySign: res.data.paySign,
|
||||||
success: (e) => {
|
success: (e) => {
|
||||||
if(e.errMsg == 'requestPayment:ok'){
|
if(e.errMsg == 'requestPayment:ok'){
|
||||||
uni.showModal({
|
uni.showModal({
|
||||||
|
|
|
@ -20,7 +20,7 @@ const useUserStore = defineStore("user", () => {
|
||||||
}
|
}
|
||||||
|
|
||||||
// #ifdef H5
|
// #ifdef H5
|
||||||
token.value = "aba1d819e38fa087f52a6ddfd1b61f30"
|
token.value = "31f74a72e2d05673ec14d2a6408718ef"
|
||||||
userInfo.value = {
|
userInfo.value = {
|
||||||
avatar: "https://lihaiim.oss-cn-chengdu.aliyuncs.com/image/admin/default_avatar.png",
|
avatar: "https://lihaiim.oss-cn-chengdu.aliyuncs.com/image/admin/default_avatar.png",
|
||||||
id: 9,
|
id: 9,
|
||||||
|
|
Loading…
Reference in New Issue