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
09976b85
Commit
09976b85
authored
Oct 18, 2019
by
邱旭
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
9503f907
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
5 additions
and
2 deletions
+5
-2
NetManager.ts
egret/libs/tw/manager/NetManager.ts
+1
-0
MapScene.ts
egret/src/mapScene/MapScene.ts
+2
-0
acceptInvitationPrize.json
mock/happyclear/acceptInvitationPrize.json
+1
-1
getInviteInfo.json
mock/happyclear/getInviteInfo.json
+1
-1
No files found.
egret/libs/tw/manager/NetManager.ts
View file @
09976b85
...
@@ -2024,6 +2024,7 @@ export class NetManager extends ABNetManager {
...
@@ -2024,6 +2024,7 @@ export class NetManager extends ABNetManager {
uri
:
window
[
'duiba'
]
+
'/customActivity/happyclear/acceptInvitationPrize'
,
uri
:
window
[
'duiba'
]
+
'/customActivity/happyclear/acceptInvitationPrize'
,
type
:
'get'
,
type
:
'get'
,
dataType
:
'json'
,
dataType
:
'json'
,
hideMsg
:
true
,
param
:
{
param
:
{
detect
:
window
[
'detect'
],
detect
:
window
[
'detect'
],
deviceSessionId
:
window
[
'_device_session_id'
],
deviceSessionId
:
window
[
'_device_session_id'
],
...
...
egret/src/mapScene/MapScene.ts
View file @
09976b85
...
@@ -460,6 +460,8 @@ export default class MapScene extends Scene {
...
@@ -460,6 +460,8 @@ export default class MapScene extends Scene {
}
}
NetManager
.
ins
.
acceptInvitationPrize
((
success
,
res
)
=>
{
NetManager
.
ins
.
acceptInvitationPrize
((
success
,
res
)
=>
{
if
(
!
success
)
{
if
(
!
success
)
{
showToast
(
"哎呀,萌狮开小差啦!
\n
过会再来看吧!"
);
GDispatcher
.
dispatchEvent
(
"getInviteInfo"
);
return
;
return
;
}
}
// console.log(res.data);
// console.log(res.data);
...
...
mock/happyclear/acceptInvitationPrize.json
View file @
09976b85
{
{
"success"
:
tru
e
,
"success"
:
fals
e
,
"code"
:
"0000000000"
,
"code"
:
"0000000000"
,
"desc"
:
"OK"
,
"desc"
:
"OK"
,
"timestamp"
:
1571227735841
,
"timestamp"
:
1571227735841
,
...
...
mock/happyclear/getInviteInfo.json
View file @
09976b85
...
@@ -19,7 +19,7 @@
...
@@ -19,7 +19,7 @@
"avatar"
:
null
"avatar"
:
null
}
}
],
],
"completeFlag"
:
6
,
"completeFlag"
:
1
,
"openPrizeMsg"
:
"图片"
,
"openPrizeMsg"
:
"图片"
,
"prizeType"
:
"nickname"
,
"prizeType"
:
"nickname"
,
"prizeName"
:
"nickname"
,
"prizeName"
:
"nickname"
,
...
...
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