contract_undertaker_feedback_router.go 1.1 KB
package routers

import (
	"github.com/beego/beego/v2/server/web"
	"gitlab.fjmaimaimai.com/allied-creation/allied-creation-cooperation/pkg/port/beego/controllers"
)

func init() {
	web.Router("/contract-undertaker-feedbacks/", &controllers.ContractUndertakerFeedbackController{}, "Post:CreateContractUndertakerFeedback")
	web.Router("/contract-undertaker-feedbacks/:contractUndertakerFeedbackId", &controllers.ContractUndertakerFeedbackController{}, "Put:UpdateContractUndertakerFeedback")
	web.Router("/contract-undertaker-feedbacks/:contractUndertakerFeedbackId", &controllers.ContractUndertakerFeedbackController{}, "Get:GetContractUndertakerFeedback")
	web.Router("/contract-undertaker-feedbacks/:contractUndertakerFeedbackId", &controllers.ContractUndertakerFeedbackController{}, "Delete:RemoveContractUndertakerFeedback")
	web.Router("/contract-undertaker-feedbacks/search", &controllers.ContractUndertakerFeedbackController{}, "Post:SearchContractUndertakerFeedback")
	web.Router("/contract-undertaker-feedbacks/", &controllers.ContractUndertakerFeedbackController{}, "Get:ListContractUndertakerFeedback")
}