app其中充值银行账号(测试用)

This commit is contained in:
renhaoting 2025-11-27 17:11:56 +08:00
parent 5a1dc499a7
commit ba6f0b2cd1
2 changed files with 7 additions and 2 deletions

View File

@ -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))

View File

@ -215,6 +215,7 @@ class TaskManager private constructor() {
}
SpUtil.instance().putObject(SpUtil.KEY_TASK_BEAN, mDailySignData)
AccountManager.saveBankAccount(null)
}
fun getForgotSignDays(): Int {