feat:完善网站信息,增加案例解决方案数据管理

This commit is contained in:
henry
2021-12-17 17:33:20 +08:00
parent c6ba000829
commit cb5ab0ae37
11 changed files with 347 additions and 2 deletions

View File

@ -48,6 +48,14 @@ func registerAPI(app *gin.Engine) {
_api := new(api2.Message)
messageV1.POST("/launch", _api.Launch)
}
// ServiceV1 服务信息管理
serviceV1 := v1.Group("/service")
{
_api := new(api2.Service)
serviceV1.GET("/solution_case", _api.SolutionCase)
serviceV1.POST("/solution_case/list", _api.SolutionCaseList)
serviceV1.POST("/solution_case/detail", _api.SolutionCaseDetail)
}
}
// registerAdminAPI 注册API