Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
D
db-game-template
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
崔立强
db-game-template
Commits
dd319b52
Commit
dd319b52
authored
Apr 06, 2021
by
zhangjinzhou
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
弹球的提交修改
parent
42f0d642
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
submit.ts
egret/libs/new_tw/ctrls/submit.ts
+2
-1
NetManager.ts
egret/libs/tw/manager/NetManager.ts
+2
-3
No files found.
egret/libs/new_tw/ctrls/submit.ts
View file @
dd319b52
...
...
@@ -34,7 +34,8 @@ const gameSubmitData = (callback: Function, score: number, allDynamics: IDynamic
DataManager
.
ins
.
getData
(
'dojoin'
).
data
,
score
,
'[]'
,
'[]'
,
JSON
.
stringify
(
`{t2:
${
new
Date
().
getTime
()}
}`
),
// '[]',
DataManager
.
ins
.
getData
(
'getNgameStartStatus'
).
data
.
submitToken
,
window
[
'rankId'
]);
}
...
...
egret/libs/tw/manager/NetManager.ts
View file @
dd319b52
...
...
@@ -463,11 +463,10 @@ export class NetManager extends ABNetManager {
param
.
rankId
=
rankId
;
pp
[
"rankId"
]
=
rankId
;
}
console
.
error
(
"请求头处理submit===》"
,
JSON
.
stringify
(
pp
));
//加密拼参数
pp
=
encrypt
(
pp
);
console
.
error
(
"请求头处理submit加密后===》"
,
JSON
.
stringify
(
pp
));
const
net
:
INetData
=
{
name
:
'ngameSubmit'
,
uri
:
'/hdtool/recon/ngame/ngameSubmit'
,
...
...
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