feat:完善网站信息,增加案例解决方案数据管理
This commit is contained in:
@ -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
|
||||
|
Reference in New Issue
Block a user