feat:完善项目

This commit is contained in:
henry
2022-01-18 09:20:18 +08:00
parent 8a97ec40d3
commit 478182dcb0
12 changed files with 161 additions and 30 deletions

View File

@ -35,6 +35,12 @@ func registerAPI(app *gin.Engine) {
indexV1.GET("/distribution/achievement", _api.DistributionAchievement)
indexV1.GET("/distribution/company", _api.DistributionCompany)
}
// Search 搜索管理
searchV1 := v1.Group("/search")
{
_api := new(api2.Search)
searchV1.POST("", _api.Launch)
}
// Config 首页信息管理
configV1 := v1.Group("/config")
{
@ -71,7 +77,7 @@ 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", _api.About)
sysV1.GET("/about/navigation", _api.AboutNavigation)
sysV1.GET("/industry", _api.Industry)
}