// // LoginState.swift // punchnet // // Created by 安礼成 on 2026/1/16. // import Foundation import Observation @Observable class UserContext { var isLogined: Bool = false var loginCredit: LoginCredit? enum LoginCredit { case token(token: String, networkdId: Int) case accountAndPasword(account: String, password: String, networkId: Int) } }