web_company_router.go
866 字节
package routers
import (
"github.com/beego/beego/v2/server/web"
"gitlab.fjmaimaimai.com/allied-creation/allied-creation-gateway/pkg/port/beego/controllers/web_client"
)
func init() {
//web.Router("/company/", &web_client.CompanyController{}, "Post:CreateCompany")
web.Router("/v1/web/company/", &web_client.CompanyController{}, "Put:UpdateCompany")
//web.Router("/company/:companyId", &web_client.CompanyController{}, "Get:GetCompany")
//web.Router("/company/:companyId", &web_client.CompanyController{}, "Delete:RemoveCompany")
//web.Router("/company/search", &web_client.CompanyController{}, "Post:ListCompany")
//web.Router("/company/:companyId/customize-menus/", &web_client.CompanyController{}, "Get:ListCompanyCustomizeMenus")
//web.Router("/company/:companyId/customize-menus", &web_client.CompanyController{}, "Put:UpdateCompanyCustomizeMenus")
}