feat:增加专利模型数据
This commit is contained in:
@ -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")
|
||||
{
|
||||
|
Reference in New Issue
Block a user