mirror of
https://github.com/yangjian102621/geekai.git
synced 2025-11-11 03:33:48 +08:00
添加会话授权支持
This commit is contained in:
@@ -31,5 +31,9 @@ const (
|
||||
InvalidParams = BizCode(101) // 非法参数
|
||||
NotAuthorized = BizCode(400) // 未授权
|
||||
|
||||
OkMsg = "Success"
|
||||
OkMsg = "Success"
|
||||
ErrorMsg = "系统开小差了"
|
||||
)
|
||||
|
||||
const TokenName = "ChatGPT-Token"
|
||||
const SessionKey = "WEB_SSH_SESSION"
|
||||
|
||||
Reference in New Issue
Block a user