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