mirror of
https://gitee.com/java110/WechatOwnerService.git
synced 2026-02-23 21:36:38 +08:00
优化代码
This commit is contained in:
parent
efb21107aa
commit
ec6fada2e2
@ -545,13 +545,16 @@
|
||||
wx.hideLoading();
|
||||
return;
|
||||
}
|
||||
if (res.statusCode == 200 && res.data.code == '60') {
|
||||
if (res.statusCode == 200 && res.data.code == '100') {
|
||||
let data = res.data; //成功情况下跳转
|
||||
uni.showToast({
|
||||
title: "支付成功",
|
||||
duration: 2000
|
||||
});
|
||||
setTimeout(function(){
|
||||
uni.navigateBack({});
|
||||
},2000)
|
||||
|
||||
return;
|
||||
}
|
||||
wx.hideLoading();
|
||||
|
||||
Loading…
Reference in New Issue
Block a user