feat:完善项目信息
This commit is contained in:
@ -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")
|
||||
|
Reference in New Issue
Block a user