f
This commit is contained in:
9
internal/shared/interfaces/account_kind_provider.go
Normal file
9
internal/shared/interfaces/account_kind_provider.go
Normal 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)
|
||||
}
|
||||
Reference in New Issue
Block a user