format🥚 代码格式化

This commit is contained in:
zhangwenjian committed 2021-05-31 18:10:23 +08:00
1 parent a7cc943b8e
commit a54d4ba0c1
96 files changed
+143 -151

No files matched your search

+1 -1
View File
@@ -13,4 +13,4 @@ func init() {
func registerFileRouter(v1 *gin.RouterGroup) {
var api = apis.File{}
v1.POST("/public/uploadFile", api.UploadFile)
}
}
+1 -1
View File
@@ -37,4 +37,4 @@ func InitRouter() {
// 注册业务路由
// TODO: 这里可存放业务路由,里边并无实际路由只有演示代码
initRouter(r, authMiddleware)
}
}
+1 -1
View File
@@ -22,4 +22,4 @@ func registerMonitorRouter(v1 *gin.RouterGroup) {
c.Status(http.StatusOK)
})
}
}
}
+1 -1
View File
@@ -39,4 +39,4 @@ func checkRoleRouter(r *gin.Engine, authMiddleware *jwt.GinJWTMiddleware) {
for _, f := range routerCheckRole {
f(v1, authMiddleware)
}
}
}
+1 -1
View File
@@ -18,4 +18,4 @@ func registerSysServerMonitorRouter(v1 *gin.RouterGroup, authMiddleware *jwt.Gin
{
r.GET("", api.ServerInfo)
}
}
}