diff --git a/business/jxstore/cms/cms.go b/business/jxstore/cms/cms.go index c9f7d5919..190ab8950 100644 --- a/business/jxstore/cms/cms.go +++ b/business/jxstore/cms/cms.go @@ -220,6 +220,8 @@ func checkConfig(configType, key, value string) (err error) { } } case model.ConfigTypeRole: + case model.ConfigTypeSys: + err = fmt.Errorf("系统参数只支持修改,不支持自由添加") default: err = fmt.Errorf("当前只支持配置:%s, 传入的配置类型:%s", utils.Format4Output(model.ConfigTypeName, true), configType) }