Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
X
xiaoxiaole
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
xiaoxiaole
Commits
4775e434
Commit
4775e434
authored
Oct 29, 2019
by
wildfirecode
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
b98fa211
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
21 deletions
+3
-21
MapScene.ts
egret/src/mapScene/MapScene.ts
+1
-1
getBackReward.json
mock/happyclear/getBackReward.json
+2
-20
No files found.
egret/src/mapScene/MapScene.ts
View file @
4775e434
...
@@ -116,7 +116,7 @@ export default class MapScene extends Scene {
...
@@ -116,7 +116,7 @@ export default class MapScene extends Scene {
}
}
const
backData
=
DataManager
.
ins
.
getData
(
'hc_getBackReward'
);
const
backData
=
DataManager
.
ins
.
getData
(
'hc_getBackReward'
);
if
(
backData
.
data
)
{
if
(
backData
.
success
&&
backData
.
data
)
{
panels
.
push
(
'back'
);
panels
.
push
(
'back'
);
}
}
...
...
mock/happyclear/getBackReward.json
View file @
4775e434
{
{
"code"
:
"0000000000"
,
"code"
:
"0000000000"
,
"data"
:{
"data"
:
null
,
"completePercent"
:
"99"
,
"prizeImage"
:
""
,
"remainPercent"
:
"剩余进度"
,
"scratchCardTaskId"
:
1
,
"categoryType"
:
4
,
"title"
:
"奖品信息"
,
"coinType"
:
1
,
"maxValue"
:
10
,
"minValue"
:
10
,
"appItemId"
:
2099
,
"img"
:
"http://yun.duiba.com.cn/db_games/1022/111.png"
,
"name"
:
"虚拟商品名称"
,
"value"
:
"虚拟商品编码"
,
"num"
:
10
,
"propType"
:
1
},
"desc"
:
"OK"
,
"desc"
:
"OK"
,
"success"
:
true
,
"success"
:
1
,
"timestamp"
:
1572079274940
"timestamp"
:
1572079274940
}
}
\ No newline at end of file
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