From c6cd9981f36edaa2435f3ebdadc26566938f7cdf Mon Sep 17 00:00:00 2001 From: admin Date: Sun, 20 Sep 2026 18:53:29 +0800 Subject: [PATCH] =?UTF-8?q?fix(export):=20=E6=92=A4=E9=94=80=20addProperty?= =?UTF-8?q?=20=E5=A4=9A=E4=BD=99=E7=9A=84=20DataType=20=E5=AE=88=E5=8D=AB(?= =?UTF-8?q?=E4=BB=BB=E5=8A=A11=20brief=20=E5=A4=96)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-Authored-By: Claude Opus 4.8 --- server/handlers_ontology.go | 4 ---- 1 file changed, 4 deletions(-) diff --git a/server/handlers_ontology.go b/server/handlers_ontology.go index 159a4d4..59ba3b7 100644 --- a/server/handlers_ontology.go +++ b/server/handlers_ontology.go @@ -359,10 +359,6 @@ func (a *app) addProperty(c *gin.Context) { c.JSON(400, gin.H{"error": "属性 api_name 不符合 IRI 本地名字符集: " + in.APIName}) return } - if in.DataType == "" { - c.JSON(400, gin.H{"error": "api_name 与 display_name 必填"}) - return - } if in.DataType == "" { in.DataType = "string" }