style: linker

This commit is contained in:
songzhibin97
2021-12-06 12:44:26 +08:00
parent 2b9365da17
commit 0fe4750991
95 changed files with 208 additions and 235 deletions

View File

@@ -6,12 +6,11 @@ import (
"github.com/gin-gonic/gin"
)
type SysRouter struct {
}
type SysRouter struct{}
func (s *SysRouter) InitSystemRouter(Router *gin.RouterGroup) {
sysRouter := Router.Group("system").Use(middleware.OperationRecord())
var systemApi = v1.ApiGroupApp.SystemApiGroup.SystemApi
systemApi := v1.ApiGroupApp.SystemApiGroup.SystemApi
{
sysRouter.POST("getSystemConfig", systemApi.GetSystemConfig) // 获取配置文件内容
sysRouter.POST("setSystemConfig", systemApi.SetSystemConfig) // 设置配置文件内容