14 lines
210 B
Go
14 lines
210 B
Go
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)
|
|
}
|
|
}
|