小额提现记录
This commit is contained in:
parent
0b4e7b3ad3
commit
c1c8f25c65
|
|
@ -103,7 +103,7 @@ class WithDrawActivity : AppViewsEmptyViewModelActivity<ViewBinding>() {
|
|||
|
||||
updateUICashTotal()
|
||||
|
||||
if (TaskManager.instance().newbieFirstWithdrawStatus().getStatusBean().hasClaimReward) {
|
||||
if (TaskManager.instance().newbieFirstWithdrawStatus().getStatusBean().hasWithdrawed) {
|
||||
withdraw01.isVisible = false
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -672,6 +672,9 @@ class WithdrawManager private constructor() {
|
|||
"Fail_Reason" to 0,
|
||||
"Withdrawal_Position" to withdrawRecord.amountNum,
|
||||
"Withdrawal_Day" to 1))
|
||||
|
||||
// 5. 记录小额提现 已提现
|
||||
TaskManager.instance().newbieFirstWithdrawStatus().setSmallCashHasWithdrawed()
|
||||
}
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -44,4 +44,9 @@ class NewbieFirstWithdrawHelper: BaseTaskHelper<TaskStateNewBieFirstWithDraw, Ta
|
|||
NotifyMan.instance().sendEvent(VididinEvents.EVENT_NEWBIE_FIRST_WITHDRAW_TASK_CHANGED, null)
|
||||
}
|
||||
|
||||
fun setSmallCashHasWithdrawed() {
|
||||
mStateBean.hasWithdrawed = true
|
||||
saveState2Sp()
|
||||
}
|
||||
|
||||
}
|
||||
|
|
@ -8,6 +8,7 @@ import java.io.Serializable
|
|||
data class TaskStateNewBieFirstWithDraw(
|
||||
var rewardGoldNum: Int,
|
||||
var hasClaimReward: Boolean = false,
|
||||
var hasWithdrawed: Boolean = false
|
||||
)
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue