diff --git a/pages/tabbar/user/utils/tool.vue b/pages/tabbar/user/utils/tool.vue index 38a509a4..e4324b88 100644 --- a/pages/tabbar/user/utils/tool.vue +++ b/pages/tabbar/user/utils/tool.vue @@ -183,13 +183,13 @@ export default { const par = res.result.split("|"); getGoodstake(par[0], par[1], { storeid: par[2] }).then((resfn) => { console.log("resfn", resfn); - - if (resfn.data.success) { - uni.showToast({ - title: resfn.data.message, - icon: "none", - }); - } + let title = resfn.data.code === 200 ? "核销成功" : "核销失败"; + uni.showModal({ + title: "提示", + content: title, + showCancel: false, + confirmText: "确定", + }); // } });