router/router.go
@@ -214,5 +214,13 @@ attributeValueAPI.GET("primary/:id", attributeValueController.PrimaryAttributeValue) //删除 } //系统配置 sysCfgCtl := new(controllers.SystemConfigController) sysCfgApi := r.Group(urlPrefix + "/systemConfig") { sysCfgApi.POST("save", sysCfgCtl.SaveConfig) //保存系统设置 sysCfgApi.GET("get", sysCfgCtl.GetSystemConfig) //获取系统配置 } return r }