2025-03-31 15:36:34 +08:00
|
|
|
package proto
|
|
|
|
|
|
|
|
|
|
// 基础统计信息,会话数,问答数,用户数,今日处理问答数
|
|
|
|
|
type DashBoardStatisticsSt struct {
|
|
|
|
|
SessionNum int64 `json:"session_num"`
|
|
|
|
|
MessageCount int64 `json:"message_count"`
|
|
|
|
|
UserCount int64 `json:"user_count"`
|
|
|
|
|
TodayMessageCount int64 `json:"today_message_count"`
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
type DashBoardStatisticsResp struct {
|
|
|
|
|
DashBoardStatisticsSt DashBoardStatisticsSt `json:"dashboard_statistics_st"`
|
|
|
|
|
}
|
2025-04-07 17:05:50 +08:00
|
|
|
|
|
|
|
|
type FileContentReq struct {
|
2025-04-08 14:12:32 +08:00
|
|
|
UserFileID int `json:"user_file_id" form:"user_file_id"` // 用户文件ID
|
|
|
|
|
FileID int `json:"file_id" form:"file_id"` // 文件ID
|
|
|
|
|
FileContent string `json:"file_content" form:"file_content"` // 文件内容
|
2025-04-07 17:05:50 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
type FileContentResp struct {
|
|
|
|
|
Code int `json:"code"`
|
|
|
|
|
Message string `json:"message"`
|
|
|
|
|
Data any `json:"data"`
|
|
|
|
|
}
|