From ec13dacb407ff00fb419ee072c327fd81c901ed1 Mon Sep 17 00:00:00 2001 From: zouap Date: Fri, 4 Nov 2022 10:36:21 +0800 Subject: [PATCH] =?UTF-8?q?=E6=96=B0=E5=A2=9E=E6=A8=A1=E5=9E=8B=E8=BD=AC?= =?UTF-8?q?=E6=8D=A2=E4=BB=BB=E5=8A=A1Api=E6=8E=A5=E5=8F=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: zouap --- models/ai_model_manage.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/models/ai_model_manage.go b/models/ai_model_manage.go index 3165d8d45..399c02e28 100644 --- a/models/ai_model_manage.go +++ b/models/ai_model_manage.go @@ -14,7 +14,7 @@ import ( type AiModelManage struct { ID string `xorm:"pk" json:"id"` Name string `xorm:"INDEX NOT NULL" json:"name"` - ModelType int `xorm:"NULL"` + ModelType int `xorm:"NULL" json:"modelType"` Version string `xorm:"NOT NULL" json:"version"` VersionCount int `xorm:"NOT NULL DEFAULT 0" json:"versionCount"` New int `xorm:"NOT NULL" json:"new"`