mirror of
https://github.com/yangjian102621/geekai.git
synced 2025-11-11 11:43:43 +08:00
rename Token to User, the chat history function is ready
This commit is contained in:
@@ -6,7 +6,7 @@ type BizVo struct {
|
||||
Page int `json:"page,omitempty"`
|
||||
PageSize int `json:"page_size,omitempty"`
|
||||
Total int `json:"total,omitempty"`
|
||||
Message string `json:"message"`
|
||||
Message string `json:"message,omitempty"`
|
||||
Data interface{} `json:"data,omitempty"`
|
||||
}
|
||||
|
||||
@@ -36,5 +36,5 @@ const (
|
||||
ErrorMsg = "系统开小差了"
|
||||
)
|
||||
|
||||
const TokenName = "ChatGPT-Token"
|
||||
const TokenName = "ChatGPT-TOKEN"
|
||||
const SessionKey = "WEB_SSH_SESSION"
|
||||
|
||||
Reference in New Issue
Block a user