完成基本框架搭建及系统用户登录流程

This commit is contained in:
2025-08-28 17:24:32 +08:00
parent 5a8029b3c6
commit 0a3be6cf9e
22 changed files with 736 additions and 16 deletions

19
internal/router/router.go Normal file
View File

@@ -0,0 +1,19 @@
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)
}