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
d6f519c8
Commit
d6f519c8
authored
Oct 29, 2019
by
wildfirecode
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
81c47fd9
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
1 deletion
+6
-1
MainBase.ts
egret/libs/new_wx/MainBase.ts
+3
-0
NetManager.ts
egret/libs/tw/manager/NetManager.ts
+3
-1
No files found.
egret/libs/new_wx/MainBase.ts
View file @
d6f519c8
...
...
@@ -373,6 +373,9 @@ export default class MainBase extends eui.UILayer {
getBackReward
()
{
return
new
Promise
((
r
)
=>
{
try
{
if
(
window
[
'getRST'
])
window
[
'getRST'
]();
}
catch
(
error
)
{
}
NetManager
.
ins
.
hc_getBackReward
(()
=>
{
r
();
})
...
...
egret/libs/tw/manager/NetManager.ts
View file @
d6f519c8
...
...
@@ -945,7 +945,9 @@ export class NetManager extends ABNetManager {
}
public
hc_getBackReward
(
callback
:
Function
):
void
{
const
d
:
any
=
{
activityId
:
DataManager
.
ins
.
customCfgData
.
actId
activityId
:
DataManager
.
ins
.
customCfgData
.
actId
,
detect
:
window
[
'detect'
],
deviceSessionId
:
window
[
'_device_session_id'
]
};
const
net
:
INetData
=
{
name
:
'hc_getBackReward'
,
...
...
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