This repository has been archived on 2024-11-28. You can view files and clone it, but cannot push or open issues or pull requests.
Files
schisandra-cloud-album/router/modules/auth_router.go
2024-08-04 14:06:46 +08:00

14 lines
265 B
Go

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)
})
}