Browse Source

增加失败原因

Signed-off-by: zouap <zouap@pcl.ac.cn>
pull/2961/head
zouap 2 years ago
parent
commit
1dcfd55d23
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      models/ai_model_manage.go

+ 1
- 1
models/ai_model_manage.go View File

@@ -291,7 +291,7 @@ func ModifyModelStatus(id string, modelSize int64, status int, modelPath string,
var sess *xorm.Session
sess = x.ID(id)
defer sess.Close()
re, err := sess.Cols("size", "status", "path").Update(&AiModelManage{
re, err := sess.Cols("size", "status", "path", "status_desc").Update(&AiModelManage{
Size: modelSize,
Status: status,
Path: modelPath,


Loading…
Cancel
Save