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
ef2dbb8c
Commit
ef2dbb8c
authored
Dec 10, 2018
by
wildfirecode
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
c7fc83cf
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
22 deletions
+2
-22
showLog.ts
egret/libs/new_tw/ctrls/showLog.ts
+0
-1
NetManager.ts
egret/libs/tw/manager/NetManager.ts
+2
-21
No files found.
egret/libs/new_tw/ctrls/showLog.ts
View file @
ef2dbb8c
...
@@ -3,7 +3,6 @@ import { DataManager } from "../../../libs/tw/manager/DataManager";
...
@@ -3,7 +3,6 @@ import { DataManager } from "../../../libs/tw/manager/DataManager";
import
{
NetManager
}
from
"../../../libs/tw/manager/NetManager"
;
import
{
NetManager
}
from
"../../../libs/tw/manager/NetManager"
;
const
showLog
=
(
lottery
:
LotteryData
):
void
=>
{
const
showLog
=
(
lottery
:
LotteryData
):
void
=>
{
if
(
window
[
'development'
]
)
return
//曝光埋点
//曝光埋点
if
(
lottery
.
imgExposure
)
{
if
(
lottery
.
imgExposure
)
{
NetManager
.
ins
.
showLog
(
lottery
.
imgExposure
);
NetManager
.
ins
.
showLog
(
lottery
.
imgExposure
);
...
...
egret/libs/tw/manager/NetManager.ts
View file @
ef2dbb8c
...
@@ -203,26 +203,6 @@ export class NetManager extends ABNetManager {
...
@@ -203,26 +203,6 @@ export class NetManager extends ABNetManager {
this
.
send
(
net
);
this
.
send
(
net
);
}
}
/**
* 购买鱼钩鱼线道具
* @param callback
* @param operatingActivityId 活动oaid
* @param type 道具类型 0:鱼线 1:鱼钩
*/
public
summerBuyProp
(
callback
:
Function
,
operatingActivityId
:
number
,
type
:
number
):
void
{
const
net
:
INetData
=
{
name
:
NetName
.
GAME_SUMMER_BUYPROP
,
uri
:
'/summer/buyProp'
,
type
:
'post'
,
dataType
:
'json'
,
param
:
{
operatingActivityId
:
operatingActivityId
,
type
:
type
},
callback
:
callback
,
hideMsg
:
true
};
this
.
send
(
net
);
}
/**
/**
* 获取鱼钩鱼线数量
* 获取鱼钩鱼线数量
...
@@ -1478,9 +1458,10 @@ export class NetManager extends ABNetManager {
...
@@ -1478,9 +1458,10 @@ export class NetManager extends ABNetManager {
if
(
!
net
.
hideMsg
)
{
if
(
!
net
.
hideMsg
)
{
GDispatcher
.
dispatchEvent
(
ABNetManager
.
NET_ERROR
,
net
);
GDispatcher
.
dispatchEvent
(
ABNetManager
.
NET_ERROR
,
net
);
this
.
offline
&&
this
.
offline
();
}
}
this
.
offline
&&
this
.
offline
();
}
}
// tslint:disable-next-line:max-file-line-count
// tslint:disable-next-line:max-file-line-count
}
}
\ 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