feat: 参数配置修改配置参数

This commit is contained in:
TsMask committed 2023-10-25 17:04:40 +08:00
1 parent 2ac4bea8ba
commit 633878f05a
4 files changed
+54

No files matched your search

+5
View File
@@ -56,6 +56,11 @@ func Setup(router *gin.Engine) {
collectlogs.OperateLog(collectlogs.OptionNew("参数配置信息", collectlogs.BUSINESS_TYPE_EXPORT)),
controller.NewSysConfig.Export,
)
sysConfigGroup.PUT("/changeValue",
middleware.PreAuthorize(map[string][]string{"hasPerms": {"system:config:edit"}}),
collectlogs.OperateLog(collectlogs.OptionNew("参数配置信息", collectlogs.BUSINESS_TYPE_UPDATE)),
controller.NewSysConfig.ConfigValue,
)
}
// 部门信息