mirror of
https://github.com/yv1ing/gin-admin.git
synced 2025-10-24 10:12:05 +08:00
20 lines
346 B
Go
20 lines
346 B
Go
package router
|
|
|
|
import (
|
|
"github.com/gin-gonic/gin"
|
|
|
|
systemapi "gin-admin/internal/api/system"
|
|
)
|
|
|
|
// @Author: yv1ing
|
|
// @Author: me@yvling.cn
|
|
// @Date: 2025/8/28 16:17
|
|
// @Desc: 路由注册入口
|
|
|
|
func SetupRoutes(eng *gin.Engine) {
|
|
api := eng.Group("/api")
|
|
|
|
/* 系统内置接口 */
|
|
api.POST("/sys/login", systemapi.SysUserLoginHandler)
|
|
}
|