format🥚 :优化文件名
This commit is contained in:
1 parent
f22f654c91
commit
117392bfe8
7 files changed
+1
-6
No files matched your search
File renamed without changes.
@@ -17,15 +17,10 @@ func registerSysContentRouter(v1 *gin.RouterGroup, authMiddleware *jwt.GinJWTMid
|
|||||||
|
|
||||||
r := v1.Group("/syscontent").Use(authMiddleware.MiddlewareFunc()).Use(middleware.AuthCheckRole())
|
r := v1.Group("/syscontent").Use(authMiddleware.MiddlewareFunc()).Use(middleware.AuthCheckRole())
|
||||||
{
|
{
|
||||||
|
r.GET("", sys_content.GetSysContentList)
|
||||||
r.GET("/:id", sys_content.GetSysContent)
|
r.GET("/:id", sys_content.GetSysContent)
|
||||||
r.POST("", sys_content.InsertSysContent)
|
r.POST("", sys_content.InsertSysContent)
|
||||||
r.PUT("", sys_content.UpdateSysContent)
|
r.PUT("", sys_content.UpdateSysContent)
|
||||||
r.DELETE("/:id", sys_content.DeleteSysContent)
|
r.DELETE("/:id", sys_content.DeleteSysContent)
|
||||||
}
|
}
|
||||||
|
|
||||||
l := v1.Group("").Use(authMiddleware.MiddlewareFunc()).Use(middleware.AuthCheckRole())
|
|
||||||
{
|
|
||||||
l.GET("/syscontentList", sys_content.GetSysContentList)
|
|
||||||
}
|
|
||||||
|
|
||||||
}
|
}
|
||||||
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Reference in new issue
Block a user