feat:完善项目

This commit is contained in:
henry
2022-01-14 09:56:55 +08:00
parent cce3717dfa
commit cf68cfbd96
10 changed files with 61 additions and 67 deletions

View File

@ -65,6 +65,8 @@ func registerAPI(app *gin.Engine) {
sysV1.GET("/navigation", _api.Navigation)
sysV1.GET("/agreement", _api.Agreement)
sysV1.GET("/agreement/detail", _api.AgreementDetail)
sysV1.POST("/about", _api.About)
sysV1.GET("/about/navigation", _api.AboutNavigation)
}
// Docking 对接信息管理
dockingV1 := v1.Group("/docking")
@ -123,13 +125,6 @@ func registerAPI(app *gin.Engine) {
technologyV1.POST("/achievement", _api.Achievement)
technologyV1.POST("/achievement/detail", _api.AchievementDetail)
}
// About 关于我们管理
aboutV1 := v1.Group("/about")
{
_api := new(api2.About)
aboutV1.POST("", _api.Instance)
aboutV1.GET("/navigation", _api.Navigation)
}
}
// registerAdminAPI 注册API