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
64afd61f
Commit
64afd61f
authored
Sep 27, 2019
by
wildfirecode
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
eb5541d2
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
1 deletion
+8
-1
NetManager.ts
egret/libs/tw/manager/NetManager.ts
+3
-1
SignPanel.ts
egret/src/panels/SignPanel.ts
+5
-0
No files found.
egret/libs/tw/manager/NetManager.ts
View file @
64afd61f
...
...
@@ -1266,7 +1266,9 @@ export class NetManager extends ABNetManager {
type
:
'post'
,
dataType
:
'json'
,
param
:
{
id
:
signActivityId
id
:
signActivityId
,
detect
:
window
[
'detect'
],
deviceSessionId
:
window
[
'_device_session_id'
]
},
hideMsg
:
true
,
callback
:
callback
...
...
egret/src/panels/SignPanel.ts
View file @
64afd61f
...
...
@@ -40,6 +40,11 @@ export default class SignPanel extends Panel {
{
nums
:
'随机奖励'
,
type
:
'random'
}
//随机
];
const
func
=
(
data
,
item
:
SignItem
)
=>
{
try
{
if
(
window
[
'getRST'
])
window
[
'getRST'
]();
}
catch
(
error
)
{
console
.
warn
(
error
)
}
NetManager
.
ins
.
doSign
((
s
)
=>
{
this
.
hidePanel
();
if
(
s
)
{
...
...
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