Подготовить HY2XS к production-сборке
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
package router
|
||||
|
||||
import (
|
||||
"github.com/gin-gonic/gin"
|
||||
"hy2xs-admin/controller"
|
||||
)
|
||||
|
||||
func initAuthRouter(authApi *gin.RouterGroup) {
|
||||
auth := authApi.Group("/auth")
|
||||
{
|
||||
auth.POST("/login", controller.Login)
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user