🎨 flag params binding
This commit is contained in:
13
router/modules/auth_user_router.go
Normal file
13
router/modules/auth_user_router.go
Normal file
@@ -0,0 +1,13 @@
|
||||
package modules
|
||||
|
||||
import (
|
||||
"github.com/gin-gonic/gin"
|
||||
"schisandra-cloud-album/common/result"
|
||||
)
|
||||
|
||||
func AuthRouter(router *gin.RouterGroup) {
|
||||
group := router.Group("auth")
|
||||
group.GET("/user", func(c *gin.Context) {
|
||||
result.FailWithCode(result.SystemError, c)
|
||||
})
|
||||
}
|
Reference in New Issue
Block a user