mirror of
https://github.com/skyle1995/NetworkAuth.git
synced 2026-05-25 02:24:05 +08:00
更新底层架构
This commit is contained in:
16
server/install.go
Normal file
16
server/install.go
Normal file
@@ -0,0 +1,16 @@
|
||||
package server
|
||||
|
||||
import (
|
||||
"NetworkAuth/controllers/install"
|
||||
|
||||
"github.com/gin-gonic/gin"
|
||||
)
|
||||
|
||||
// RegisterInstallRoutes 注册安装相关的路由
|
||||
func RegisterInstallRoutes(r *gin.Engine) {
|
||||
// 安装向导页面
|
||||
r.GET("/install", install.InstallPageHandler)
|
||||
|
||||
// 提交安装表单
|
||||
r.POST("/api/install", install.InstallSubmitHandler)
|
||||
}
|
||||
Reference in New Issue
Block a user