🎨 优化前端菜单栏(修改为抽屉模式)&& 新增ai预设功能 && 优化ai对话前端渲染

This commit is contained in:
2026-02-24 20:54:26 +08:00
parent 0ebe197cc1
commit e5e33996d3
30 changed files with 3681 additions and 68 deletions

View File

@@ -0,0 +1,24 @@
package request
import "git.echol.cn/loser/st/server/model/common/request"
// CreateAIPresetRequest 创建预设请求
type CreateAIPresetRequest struct {
Name string `json:"name" binding:"required,max=200"`
Type string `json:"type" binding:"required,max=100"`
Content map[string]interface{} `json:"content" binding:"required"`
}
// UpdateAIPresetRequest 更新预设请求
type UpdateAIPresetRequest struct {
Name string `json:"name" binding:"required,max=200"`
Type string `json:"type" binding:"required,max=100"`
Content map[string]interface{} `json:"content" binding:"required"`
}
// AIPresetSearch 预设搜索请求
type AIPresetSearch struct {
request.PageInfo
Name string `json:"name" form:"name"`
Type string `json:"type" form:"type"`
}