Commit 51231c10 authored by 汪欢's avatar 汪欢

prizepart

parent af5342e2
......@@ -172,9 +172,9 @@ Page({
async receiveObjectPrize(params) {
// commonToast('正在调用receiveObjectPrize'+JSON.stringify(params))
API.receiveObjectPrize(params).then((res) => {
setTimeout(() => {
commonToast(JSON.stringify(res))
}, 5000);
// setTimeout(() => {
// commonToast(JSON.stringify(res))
// }, 5000);
const { success, data, message } = res;
if (success && data) {
......@@ -183,6 +183,8 @@ Page({
commonToast(message)
}
this.getMyPrize()
},(rej)=>{
commonToast(rej.message)
});
},
// 积分
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment