app其中充值银行账号(测试用)
This commit is contained in:
parent
5a1dc499a7
commit
ba6f0b2cd1
|
|
@ -60,8 +60,12 @@ object AccountManager {
|
|||
return !backInfo?.bankName.isNullOrEmpty() && !backInfo.bankAccount.isNullOrEmpty()
|
||||
}
|
||||
|
||||
fun saveBankAccount(bankAccount: String) {
|
||||
fun saveBankAccount(bankAccount: String?) {
|
||||
if (bankAccount.isNullOrEmpty()) {
|
||||
mAccount?.bankInfo = null
|
||||
} else {
|
||||
mAccount?.bankInfo = BankInfo(bankAccount=bankAccount)
|
||||
}
|
||||
saveAccountInfo()
|
||||
NotifyMan.instance().sendEvent(
|
||||
VididinEvents.Event_Account_Bank_Info_Changed, NotifyMan.NotifyData(bankAccount))
|
||||
|
|
|
|||
|
|
@ -215,6 +215,7 @@ class TaskManager private constructor() {
|
|||
}
|
||||
|
||||
SpUtil.instance().putObject(SpUtil.KEY_TASK_BEAN, mDailySignData)
|
||||
AccountManager.saveBankAccount(null)
|
||||
}
|
||||
|
||||
fun getForgotSignDays(): Int {
|
||||
|
|
|
|||
Loading…
Reference in New Issue