Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Sign in / Register
Toggle navigation
L
LuckyFarm
Project
Project
Details
Activity
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
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
王雪伟
LuckyFarm
Commits
5f9ca87f
Commit
5f9ca87f
authored
Nov 25, 2020
by
Li
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/develop_ddcy_1.0.4' into develop_ddcy_1.0.4
parents
8d4ab55d
cfffec90
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
7 additions
and
7 deletions
+7
-7
misc.xml
.idea/misc.xml
+1
-1
GameActivity.kt
app/src/main/java/com/ym/game/GameActivity.kt
+1
-1
BaseApplication.kt
app/src/main/java/com/ym/game/application/BaseApplication.kt
+3
-3
version.properties
app/version.properties
+2
-2
No files found.
.idea/misc.xml
View file @
5f9ca87f
<?xml version="1.0" encoding="UTF-8"?>
<project
version=
"4"
>
<component
name=
"ProjectRootManager"
version=
"2"
languageLevel=
"JDK_1_8"
default=
"true"
project-jdk-name=
"
1.8
"
project-jdk-type=
"JavaSDK"
>
<component
name=
"ProjectRootManager"
version=
"2"
languageLevel=
"JDK_1_8"
default=
"true"
project-jdk-name=
"
JDK
"
project-jdk-type=
"JavaSDK"
>
<output
url=
"file://$PROJECT_DIR$/build/classes"
/>
</component>
<component
name=
"ProjectType"
>
...
...
app/src/main/java/com/ym/game/GameActivity.kt
View file @
5f9ca87f
...
...
@@ -738,12 +738,12 @@ class GameActivity : UnityPlayerActivity(), IDialogViewCloseCallback {
object
:
IAdVideoListener
{
override
fun
onAdClose
()
{
videoSeedClick
=
true
callUnity
(
"Form_land"
,
"onVideoSeedReceiveSuccess"
,
""
+
(
id
-
1
))
GameApiClient
.
gameApi
.
getVideoSeedReceive
(
id
)
.
compose
(
RxSchedulers
.
observableIO2Main
())
.
subscribe
(
object
:
BaseObserver
<
StatusEntity
>()
{
override
fun
onSuccess
(
result
:
StatusEntity
?)
{
Log
.
d
(
"wxw"
,
"看视频领取种子同步"
+
Utils
.
obj2Str
(
result
))
callUnity
(
"Form_land"
,
"onVideoSeedReceiveSuccess"
,
""
+
(
id
-
1
))
}
override
fun
onFailure
(
...
...
app/src/main/java/com/ym/game/application/BaseApplication.kt
View file @
5f9ca87f
...
...
@@ -52,13 +52,13 @@ class BaseApplication : MultiDexApplication() {
private
var
backToFrontTime
:
Long
=
0
override
fun
onCreate
()
{
super
.
onCreate
()
NetConfig
.
setBase_Url
(
NetConfig
.
Environment
.
PRODUCT
)
// TODO 上线之后提成成 NetConfig.Environment.PRODUCT
NetConfig
.
setBase_Url
(
NetConfig
.
Environment
.
DEV
)
// TODO 上线之后提成成 NetConfig.Environment.PRODUCT
NetConfig
.
BASE_FEED_URL
=
"https://fsapi.ihuomao.com/"
NetConfig
.
BASE_AD_URL
=
"https://bs.ihuomao.com/"
NetConfig
.
URL_REPORT_BASE
=
"http://report.ihuomao.com/"
//
NetConfig.BASE_FEED_URL = "http://feedapitest2.zhangxinhulian.com/"
//TODO 上线去掉测试地址
NetConfig
.
BASE_FEED_URL
=
"http://feedapitest2.zhangxinhulian.com/"
// Constant.appLs = "afcbef40e31631d3"//appls
AdManager
.
init
(
this
,
"afcbef40e31631d3"
)
LogUtils
.
getConfig
().
logSwitch
=
true
...
...
app/version.properties
View file @
5f9ca87f
PACKAGE_NAME
=
com.ym.ddcy
VERSION_CODE
=
4
VERSION_NAME
=
1.0.3
\ No newline at end of file
VERSION_CODE
=
5
VERSION_NAME
=
1.0.4
\ 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