style: linker
This commit is contained in:
@@ -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) // 设置配置文件内容
|
||||
|
Reference in New Issue
Block a user