feat:增加专利模型数据

This commit is contained in:
henry
2021-11-26 17:26:01 +08:00
parent 3908a05bfa
commit dabb567d41
17 changed files with 512 additions and 7 deletions

View File

@ -127,7 +127,7 @@ func registerEnterpriseAPI(app *gin.Engine) {
apiPrefix := "/enterprise"
g := app.Group(apiPrefix)
g.Use(NeedLogin(session.NewManage(), AddSkipperURL([]string{}...)))
//g.Use(NeedLogin(session.NewManage(), AddSkipperURL([]string{}...)))
v1 := g.Group("/v1")
@ -148,6 +148,12 @@ func registerEnterpriseAPI(app *gin.Engine) {
accountV1.POST("/authorize", _api.Authorize)
accountV1.POST("/logout", _api.Logout)
}
// Sys 配置管理
sysV1 := v1.Group("/sys")
{
_api := new(api2.Sys)
sysV1.POST("/patent", _api.Patent)
}
// Technology 技术管理
technologyV1 := g.Group("/technology")
{