router/index.go
@@ -200,5 +200,15 @@ codeGroup.GET("getCodeList", codeApi.GetCodeList) //获取编码列表 codeGroup.POST("getAutoCode", codeApi.GetAutoCode) //获取编码列表 } //系统设置 systemSetGroup := PrivateGroup.Group("system") systemSetApi := v1.SystemSetApi{} { systemSetGroup.GET("getSystemSet", systemSetApi.GetSystemSet) systemSetGroup.POST("saveSystemSet", systemSetApi.SaveSystemSet) systemSetGroup.GET("useSystemSet/:modeType", systemSetApi.UseSystemSet) } return Router }