feat: 增加门店身份注销流程

This commit is contained in:
2026-08-31 09:43:14 +08:00
parent 396597a160
commit e529bb5942
35 changed files with 6062 additions and 45 deletions
@@ -96,14 +96,8 @@ final class AccountSwitchViewController: BaseViewController, UITableViewDelegate
}
private var currentAccountId: String? {
let store = AppStore.shared
if store.session.currentStoreId > 0 {
return "\(V9StoreUser.accountTypeValue)_\(store.session.currentStoreId)"
}
if store.session.currentScenicId > 0 {
return "\(V9ScenicUser.accountTypeValue)_\(store.session.userId)"
}
return store.session.userId.isEmpty ? nil : store.session.userId
let scope = AppStore.shared.session.accountCachePrefix
return scope.isEmpty ? nil : scope
}
private func isCurrentAccount(_ account: AccountSwitchAccount) -> Bool {