Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
apk_product
/
ForFun
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
Commit
29791e8e
...
29791e8e56bc94b8862aa825b992893d87399678
authored
2020-04-15 18:35:03 +0800
by
金学艇
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
添加探针
修改福建服务器地址
1 parent
a8be5b38
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
9 additions
and
7 deletions
assets/Scene/sceneVideoDetail.fire
assets/Script/common/Application.js
assets/Script/common/Common.js
assets/Script/gameDetail.js
assets/Scene/sceneVideoDetail.fire
View file @
29791e8
...
...
@@ -207,7 +207,7 @@
"array": [
0,
0,
247.68325805664
062,
186.19546508789
062,
0,
0,
0,
...
...
@@ -1167,7 +1167,7 @@
"__id__": 2
},
"_children": [],
"_active":
tru
e,
"_active":
fals
e,
"_components": [
{
"__id__": 27
...
...
assets/Script/common/Application.js
View file @
29791e8
This diff is collapsed.
Click to expand it.
assets/Script/common/Common.js
View file @
29791e8
...
...
@@ -9,7 +9,7 @@ cc.Class({
},
statics
:
{
VERSION
:
"
3.1.06
"
,
VERSION
:
"
1.1.0
"
,
SCREEN_WIDTH
:
1280.0
,
SCREEN_HEIGHT
:
720.0
,
...
...
@@ -52,13 +52,13 @@ cc.Class({
OFFICIAL_PLATFORM_IP
:
'http://139.196.192.33/'
,
TEST_PLATFORM_IP
:
'http://139.196.192.242:8081/'
,
TOPDRAW_API_SERVER
:
'http://
demo.cloud.api.findfun.topdraw.cn:38081/find
fun/'
,
TOPDRAW_IMAGE_SERVER
:
'http://
demo.cloud.api.findfun.topdraw.cn:38081/find
fun/'
,
TOPDRAW_API_SERVER
:
'http://
forfun.fj.a183.ottcn.com:8082/clutch/apps/for
fun/'
,
TOPDRAW_IMAGE_SERVER
:
'http://
forfun.fj.a183.ottcn.com:8082/clutch/apps/for
fun/'
,
TOPDRAW_LOG_SERVER
:
'http://139.196.37.202/sparrow.resource/'
,
// BI_BASE_PATH : 'http://139.196.192.242:81/1.gif',
BI_BASE_PATH
:
'http://
melody.hi.a170.ottcn.com:80/1
.gif'
,
BI_BASE_PATH_NEW
:
'http://
melody.hi.a170.ottcn.com:80/2
.gif'
,
BI_BASE_PATH
:
'http://
112.47.3.214:9092/taohaowan
.gif'
,
BI_BASE_PATH_NEW
:
'http://
112.47.3.214:9092/taohaowan
.gif'
,
TV_LINK_ACTION_CLICK
:
100
,
TV_LINK_ACTION_HOVER
:
101
,
...
...
assets/Script/gameDetail.js
View file @
29791e8
...
...
@@ -498,12 +498,14 @@ cc.Class({
}
if
(
this
.
_bIsExistApk
==
"true"
)
{
if
(
this
.
_oSceneContext
.
_downloadUrl
&&
this
.
_oSceneContext
.
_downloadUrl
!=
"undefined"
)
{
//如果有下载地址就启动奥比游戏
this
.
_oProbe
.
requestProbe
(
"playOBiGame"
);
jsb
.
reflection
.
callStaticMethod
(
"org/cocos2dx/javascript/common/TopdrawSDKWrapper"
,
"startOBiGame"
,
"(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V"
,
Common
.
TOPDRAW_API_SERVER
+
this
.
_oSceneContext
.
_downloadUrl
,
this
.
_oSceneContext
.
_packageName
,
this
.
_oSceneContext
.
_className
,
""
);
}
else
{
//这里应该转圈圈等待加载游戏
// cc.find("LoadingLabel", this.node).opacity = 255;
// cc.find("Loading/LoadingIcon", this.node).opacity = 255;
// cc.find("Loading/LoadingIcon", this.node).getComponent(cc.Animation).play();
this
.
_oProbe
.
requestProbe
(
"playGame"
);
jsb
.
reflection
.
callStaticMethod
(
"org/cocos2dx/javascript/common/TopdrawSDKWrapper"
,
"startGame"
,
"(Ljava/lang/String;Ljava/lang/String;)V"
,
this
.
_oSceneContext
.
_packageName
,
""
);
}
}
else
{
...
...
Please
register
or
sign in
to post a comment