Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
R
RB_StrongestBrain_250520
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
SparkProjects
RB_StrongestBrain_250520
Commits
d5dadb73
Commit
d5dadb73
authored
May 26, 2025
by
cc
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update
parent
6949e4d4
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
8 deletions
+9
-8
task.ts
src/store/task.ts
+8
-8
errorHandler.ts
src/utils/errorHandler.ts
+1
-0
No files found.
src/store/task.ts
View file @
d5dadb73
...
@@ -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
)
{
...
...
src/utils/errorHandler.ts
View file @
d5dadb73
...
@@ -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
:
"已为好友助力哦~"
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment