This commit is contained in:
2026-04-25 11:59:10 +08:00
parent e246271a24
commit ba463ae38d
33 changed files with 1600 additions and 112 deletions

View File

@@ -0,0 +1,9 @@
package interfaces
import "context"
// AccountKindProvider 为 JWT / 用户资料 提供 account_kind
type AccountKindProvider interface {
// AccountKind 返回 shared/auth 中的 AccountKind* 常量
AccountKind(ctx context.Context, userID string) (string, error)
}