hi-server/pkg/constant/context.go
shanshanzhong 3b4e882965
All checks were successful
Build docker and publish / build (20.15.1) (push) Successful in 7m37s
feat: 根据 X-App-Id 判断是否裁剪套餐列表,老版客户端去掉最后一个
2026-03-28 23:21:00 -07:00

20 lines
683 B
Go

package constant
type CtxKey string
const (
CtxKeyUser CtxKey = "user"
CtxKeySessionID CtxKey = "sessionId"
CtxKeyRequestHost CtxKey = "requestHost"
CtxKeyPlatform CtxKey = "platform"
CtxKeyPayment CtxKey = "payment"
CtxLoginType CtxKey = "loginType"
LoginType CtxKey = "loginType"
CtxKeyIdentifier CtxKey = "identifier"
CtxKeyDeviceID CtxKey = "deviceId"
CtxKeyIncludeExpired CtxKey = "includeExpired"
CtxKeyAPIVersionUseLatest CtxKey = "apiVersionUseLatest"
CtxKeyAPIHeaderRaw CtxKey = "apiHeaderRaw"
CtxKeyHasAppId CtxKey = "hasAppId"
)