Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Sign in / Register
Toggle navigation
E
eggsxiaoxiaole
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
huangjunhui
eggsxiaoxiaole
Commits
566c08ba
Commit
566c08ba
authored
Aug 24, 2020
by
huangjunhui
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
提交到gitlab,修复游戏
parent
4670fef9
Pipeline
#397
canceled with stages
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
1 deletion
+5
-1
GamePauseActivity.kt
...src/main/java/com/zxhl/game/ysdzz/ui/GamePauseActivity.kt
+1
-1
CoinCrashFragment.kt
...in/java/com/zxhl/task/module/caiyuan/CoinCrashFragment.kt
+4
-0
No files found.
app/src/main/java/com/zxhl/game/ysdzz/ui/GamePauseActivity.kt
View file @
566c08ba
...
@@ -44,7 +44,7 @@ class GamePauseActivity :BaseActivity() {
...
@@ -44,7 +44,7 @@ class GamePauseActivity :BaseActivity() {
//继续游戏
//继续游戏
stop_rl_continue
.
setOnClickListener
{
stop_rl_continue
.
setOnClickListener
{
var
intent
=
Intent
()
var
intent
=
Intent
()
intent
.
putExtra
(
"code"
,
"ContinueGame"
)
//
intent.putExtra("code","ContinueGame")
setResult
(
Activity
.
RESULT_OK
,
intent
)
setResult
(
Activity
.
RESULT_OK
,
intent
)
finish
()
finish
()
}
}
...
...
task/src/main/java/com/zxhl/task/module/caiyuan/CoinCrashFragment.kt
View file @
566c08ba
...
@@ -108,6 +108,8 @@ class CoinCrashFragment : BaseFragment(), WithdrawCashContract.View {
...
@@ -108,6 +108,8 @@ class CoinCrashFragment : BaseFragment(), WithdrawCashContract.View {
//小于一元不用绑定手机号
//小于一元不用绑定手机号
if
(
wdId
>
0
&&
currentCoin
!!
>=
coins
.
toInt
())
{
if
(
wdId
>
0
&&
currentCoin
!!
>=
coins
.
toInt
())
{
// mPresenter?.withdrawWhcaht(wdId, mDefaultType, cash)
// mPresenter?.withdrawWhcaht(wdId, mDefaultType, cash)
mLoading
?.
show
()
mPresenter
?.
getWechatCrash
(
wdId
)
mPresenter
?.
getWechatCrash
(
wdId
)
}
else
{
}
else
{
cash_coin_tv_now
.
isEnabled
=
true
cash_coin_tv_now
.
isEnabled
=
true
...
@@ -156,6 +158,7 @@ class CoinCrashFragment : BaseFragment(), WithdrawCashContract.View {
...
@@ -156,6 +158,7 @@ class CoinCrashFragment : BaseFragment(), WithdrawCashContract.View {
}
}
override
fun
onWxCash
(
result
:
WechatResultEntity
)
{
override
fun
onWxCash
(
result
:
WechatResultEntity
)
{
mLoading
?.
dismiss
()
cash_coin_tv_now
.
isEnabled
=
true
cash_coin_tv_now
.
isEnabled
=
true
showToast
(
result
?.
reason
)
showToast
(
result
?.
reason
)
mPresenter
?.
getCashConfig
(
1
)
// 获取金币提现
mPresenter
?.
getCashConfig
(
1
)
// 获取金币提现
...
@@ -163,6 +166,7 @@ class CoinCrashFragment : BaseFragment(), WithdrawCashContract.View {
...
@@ -163,6 +166,7 @@ class CoinCrashFragment : BaseFragment(), WithdrawCashContract.View {
}
}
override
fun
onWxCashFail
(
errorMsg
:
String
)
{
override
fun
onWxCashFail
(
errorMsg
:
String
)
{
mLoading
?.
dismiss
()
showToast
(
errorMsg
)
showToast
(
errorMsg
)
cash_coin_tv_now
.
isEnabled
=
true
cash_coin_tv_now
.
isEnabled
=
true
}
}
...
...
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