mirror of
https://github.com/yangjian102621/geekai.git
synced 2025-12-17 13:46:01 +08:00
remove debug cod
This commit is contained in:
@@ -51,7 +51,7 @@ func (h *ChatModelHandler) List(c *gin.Context) {
|
||||
|
||||
}
|
||||
|
||||
res := session.Debug().Order("sort_num ASC").Find(&items)
|
||||
res := session.Order("sort_num ASC").Find(&items)
|
||||
if res.Error == nil {
|
||||
for _, item := range items {
|
||||
var cm vo.ChatModel
|
||||
|
||||
Reference in New Issue
Block a user