fix(export): 撤销 addProperty 多余的 DataType 守卫(任务1 brief 外)

Co-Authored-By: Claude Opus 4.8 <[email protected]>
This commit is contained in:
adminandClaude Opus 4.8 committed 2026-09-20 18:53:29 +08:00
1 parent b6ab1ffde6
commit c6cd9981f3
1 file changed
-4
-4
View File
@@ -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"
}