Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
N
new_taobao
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
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wildfirecode13
new_taobao
Commits
8f235efe
Commit
8f235efe
authored
Sep 25, 2020
by
wildfirecode13
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
11
parent
0e8b37f6
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
9 additions
and
7 deletions
+9
-7
tmallCat.getTaskList.json
...ect/src/canvas/game/mock/miniTb/tmallCat.getTaskList.json
+7
-7
comtask.js
taobao_mini/client/components/comtask/comtask.js
+1
-0
pageshop.js
taobao_mini/client/pages/pageshop/pageshop.js
+1
-0
No files found.
project/src/canvas/game/mock/miniTb/tmallCat.getTaskList.json
View file @
8f235efe
...
@@ -4,7 +4,7 @@
...
@@ -4,7 +4,7 @@
{
{
"completeTimes"
:
0
,
"completeTimes"
:
0
,
"rewards"
:
1
,
"rewards"
:
1
,
"status"
:
3
,
"status"
:
2
,
"taskRateType"
:
2
,
"taskRateType"
:
2
,
"taskType"
:
"sign"
,
"taskType"
:
"sign"
,
"times"
:
1
,
"times"
:
1
,
...
@@ -16,25 +16,25 @@
...
@@ -16,25 +16,25 @@
"completeTimes"
:
0
,
"completeTimes"
:
0
,
"rewards"
:
10
,
"rewards"
:
10
,
"sellerId"
:
"oooo"
,
"sellerId"
:
"oooo"
,
"status"
:
3
,
"status"
:
2
,
"taskRateType"
:
1
,
"taskRateType"
:
1
,
"taskType"
:
"follow"
,
"taskType"
:
"follow"
,
"title"
:
"关注店铺"
"title"
:
"关注店铺
1
"
},
},
{
{
"completeTimes"
:
0
,
"completeTimes"
:
0
,
"rewards"
:
10
,
"rewards"
:
10
,
"sellerId"
:
"wwwww"
,
"sellerId"
:
"wwwww"
,
"status"
:
3
,
"status"
:
2
,
"taskRateType"
:
1
,
"taskRateType"
:
1
,
"taskType"
:
"follow"
,
"taskType"
:
"follow"
,
"title"
:
"关注店铺"
"title"
:
"关注店铺
2
"
},
},
{
{
"completeTimes"
:
0
,
"completeTimes"
:
0
,
"itemIds"
:
""
,
"itemIds"
:
""
,
"rewards"
:
"2"
,
"rewards"
:
"2"
,
"status"
:
3
,
"status"
:
2
,
"taskRateType"
:
2
,
"taskRateType"
:
2
,
"taskType"
:
"browseGoods"
,
"taskType"
:
"browseGoods"
,
"times"
:
1
,
"times"
:
1
,
...
@@ -46,7 +46,7 @@
...
@@ -46,7 +46,7 @@
{
{
"completeTimes"
:
0
,
"completeTimes"
:
0
,
"rewards"
:
"1"
,
"rewards"
:
"1"
,
"status"
:
3
,
"status"
:
2
,
"taskRateType"
:
1
,
"taskRateType"
:
1
,
"taskType"
:
"invites"
,
"taskType"
:
"invites"
,
"times"
:
3
,
"times"
:
3
,
...
...
taobao_mini/client/components/comtask/comtask.js
View file @
8f235efe
...
@@ -61,6 +61,7 @@ Component({
...
@@ -61,6 +61,7 @@ Component({
if
(
success
&&
data
)
{
if
(
success
&&
data
)
{
commonToast
(
'领取成功~'
);
commonToast
(
'领取成功~'
);
}
}
my
.
__updateUserInfo__
();
await
this
.
getTaskList
()
await
this
.
getTaskList
()
flag
=
0
;
flag
=
0
;
},
},
...
...
taobao_mini/client/pages/pageshop/pageshop.js
View file @
8f235efe
...
@@ -37,6 +37,7 @@ Page({
...
@@ -37,6 +37,7 @@ Page({
const
{
success
,
data
,
message
}
=
await
API
.
exchangeGood
(
params
).
catch
(
res
=>
{
const
{
success
,
data
,
message
}
=
await
API
.
exchangeGood
(
params
).
catch
(
res
=>
{
commonToast
(
res
&&
res
.
message
);
commonToast
(
res
&&
res
.
message
);
})
||
{};
})
||
{};
my
.
__updateUserInfo__
();
my
.
hideLoading
();
my
.
hideLoading
();
if
(
success
&&
data
)
{
if
(
success
&&
data
)
{
...
...
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