feat:完善项目信息

This commit is contained in:
henry
2022-01-13 20:37:05 +08:00
parent 7492c67378
commit 97fd9ab278
11 changed files with 367 additions and 15 deletions

View File

@ -63,6 +63,8 @@ func registerAPI(app *gin.Engine) {
_api := new(api2.Sys)
sysV1.GET("/platform", _api.Platform)
sysV1.GET("/navigation", _api.Navigation)
sysV1.GET("/agreement", _api.Agreement)
sysV1.GET("/agreement/detail", _api.AgreementDetail)
}
// Docking 对接信息管理
dockingV1 := v1.Group("/docking")
@ -195,6 +197,11 @@ func registerAdminAPI(app *gin.Engine) {
sys.POST("/agreement/add", _api.AgreementForm)
sys.POST("/agreement/edit", _api.AgreementForm)
sys.POST("/agreement/delete", _api.AgreementDelete)
sys.POST("/about", _api.About)
sys.POST("/about/detail", _api.AboutDetail)
sys.POST("/about/add", _api.AboutForm)
sys.POST("/about/edit", _api.AboutForm)
sys.POST("/about/delete", _api.AboutDelete)
}
// User 用户管理
user := v1.Group("/user")