feat:完善网站信息,增加创新服务数据模型
This commit is contained in:
@ -48,7 +48,7 @@ func registerAPI(app *gin.Engine) {
|
||||
_api := new(api2.Message)
|
||||
messageV1.POST("/launch", _api.Launch)
|
||||
}
|
||||
// ServiceV1 服务信息管理
|
||||
// Service 服务信息管理
|
||||
serviceV1 := v1.Group("/service")
|
||||
{
|
||||
_api := new(api2.Service)
|
||||
@ -59,6 +59,13 @@ func registerAPI(app *gin.Engine) {
|
||||
serviceV1.GET("/innovate/kind", _api.InnovateKind)
|
||||
serviceV1.POST("/innovate/detail", _api.InnovateDetail)
|
||||
}
|
||||
// About 关于我们管理
|
||||
aboutV1 := v1.Group("/about")
|
||||
{
|
||||
_api := new(api2.About)
|
||||
aboutV1.POST("", _api.Instance)
|
||||
aboutV1.GET("/navigation", _api.Navigation)
|
||||
}
|
||||
}
|
||||
|
||||
// registerAdminAPI 注册API
|
||||
|
Reference in New Issue
Block a user