🎨 新增世界书模块,将原有的世界书分离

Signed-off-by: Echo <1711788888@qq.com>
This commit is contained in:
2026-02-27 23:15:30 +08:00
parent 689e8af3df
commit 032d0ccdf0
18 changed files with 1880 additions and 8 deletions

View File

@@ -79,14 +79,12 @@ func (a *PresetApi) GetPresetList(c *gin.Context) {
list = append(list, response.ToPresetResponse(&preset))
}
resp := response.PresetListResponse{
commonResponse.OkWithDetailed(commonResponse.PageResult{
List: list,
Total: total,
Page: req.Page,
PageSize: req.PageSize,
}
commonResponse.OkWithData(resp, c)
}, "获取成功", c)
}
// GetPresetByID 根据ID获取预设