project_belong_router.go 702 字节
package routers

import (
	"github.com/astaxie/beego"
	"gitlab.fjmaimaimai.com/linmadan/mmm-worth/pkg/port/beego/controllers"
)

func init() {
	beego.Router("/project-belongs/", &controllers.ProjectBelongController{}, "Post:CreateProjectBelong")
	beego.Router("/project-belongs/:projectBelongId", &controllers.ProjectBelongController{}, "Put:UpdateProjectBelong")
	beego.Router("/project-belongs/:projectBelongId", &controllers.ProjectBelongController{}, "Get:GetProjectBelong")
	beego.Router("/project-belongs/:projectBelongId", &controllers.ProjectBelongController{}, "Delete:RemoveProjectBelong")
	beego.Router("/project-belongs/", &controllers.ProjectBelongController{}, "Get:ListProjectBelong")
}