feat:完善项目

This commit is contained in:
henry
2022-01-14 17:09:06 +08:00
parent cf68cfbd96
commit 9a41d7ff12
16 changed files with 646 additions and 38 deletions

View File

@ -301,6 +301,20 @@ func registerAdminAPI(app *gin.Engine) {
service.POST("/message/handle", _api.MessageHandle)
service.POST("/message/delete", _api.MessageDelete)
}
// Technology 科技管理
technology := v1.Group("/technology")
{
_api := new(api1.Technology)
technology.POST("/patent", _api.Patent)
technology.POST("/patent/detail", _api.PatentDetail)
technology.POST("/patent/add", _api.PatentForm)
technology.POST("/patent/edit", _api.PatentForm)
technology.POST("/patent/delete", _api.PatentDelete)
technology.GET("/patent/ipc", _api.PatentIPC)
technology.POST("/patent/add", _api.PatentIPCForm)
technology.POST("/patent/edit", _api.PatentIPCForm)
technology.POST("/patent/delete", _api.PatentIPCDelete)
}
// Activity 活动管理
activity := v1.Group("/activity")
{