feat: 重造领域模型并对齐 android(home/checkin/plan/profile/session)
This commit is contained in:
10
IosClientKit/Sources/CoreModel/Auth.swift
Normal file
10
IosClientKit/Sources/CoreModel/Auth.swift
Normal file
@@ -0,0 +1,10 @@
|
||||
import Foundation
|
||||
|
||||
/// 会话(极简,仅 token)。
|
||||
public struct Session: Hashable, Sendable {
|
||||
public let token: String
|
||||
|
||||
public init(token: String) {
|
||||
self.token = token
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user