We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 4966763 + 258552e commit 4524931Copy full SHA for 4524931
config/constant.go
@@ -1,6 +1,6 @@
1
package config
2
3
-const Version = "3.5.0"
+const Version = "3.5.1"
4
const Trial = false
5
const VersionType = ""
6
controller/apiTag.go
@@ -1179,9 +1179,7 @@ func ApiDiyField(ctx iris.Context) {
1179
settings[fields[i].Name] = val
1180
}
1181
} else if fields[i].Type == config.CustomFieldTypeTexts && settings[fields[i].Name] != nil {
1182
- var texts []model.CustomFieldTexts
1183
- _ = json.Unmarshal([]byte(fmt.Sprint(settings[fields[i].Name])), &texts)
1184
- settings[fields[i].Name] = texts
+ // 不需要处理
1185
} else if fields[i].Type == config.CustomFieldTypeArchive && settings[fields[i].Name] != nil {
1186
// 列表
1187
var arcIds []int64
0 commit comments