Commit d5dadb73 authored by cc's avatar cc

update

parent 6949e4d4
...@@ -149,14 +149,14 @@ const taskStore = makeAutoObservable({ ...@@ -149,14 +149,14 @@ const taskStore = makeAutoObservable({
await setCookies(); await setCookies();
console.info("回调数据", res); console.info("回调数据", res);
let resObj = res ? JSON.parse(res) : {}; let resObj = res ? JSON.parse(res) : {};
if (curTask?.code?.indexOf("browse_shui_yue") > -1) { // if (curTask?.code?.indexOf("browse_shui_yue") > -1) {
//税悦不管时间 // //税悦不管时间
const res = await taskStore.complete(curTask); // const res = await taskStore.complete(curTask);
if (res?.success) { // if (res?.success) {
await taskStore.getTaskList(); // await taskStore.getTaskList();
} // }
return; // return;
} // }
if (resObj.isSuccess == 1 && Number(resObj.time) >= 7) { if (resObj.isSuccess == 1 && Number(resObj.time) >= 7) {
const res = await taskStore.complete(curTask, resObj.time); const res = await taskStore.complete(curTask, resObj.time);
if (res?.success) { if (res?.success) {
......
...@@ -9,6 +9,7 @@ export const errMessageMap = { ...@@ -9,6 +9,7 @@ export const errMessageMap = {
1007: "活动太火爆了,奖品已抢完咯~", 1007: "活动太火爆了,奖品已抢完咯~",
100001: "登录过期啦,请重新登录哦~", 100001: "登录过期啦,请重新登录哦~",
200306: "无法为自己助力哦~", 200306: "无法为自己助力哦~",
200302: '非新用户,助力失败~',
200303: '助力机会已用完,一起来参与活动吧~', 200303: '助力机会已用完,一起来参与活动吧~',
200304: "好友今日助力次数已达上限~", 200304: "好友今日助力次数已达上限~",
200305: "已为好友助力哦~", 200305: "已为好友助力哦~",
......
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