customer_value_router.go
702 字节
package routers
import (
"github.com/astaxie/beego"
"gitlab.fjmaimaimai.com/linmadan/mmm-worth/pkg/port/beego/controllers"
)
func init() {
beego.Router("/customer-values/", &controllers.CustomerValueController{}, "Post:CreateCustomerValue")
beego.Router("/customer-values/:customerValueId", &controllers.CustomerValueController{}, "Put:UpdateCustomerValue")
beego.Router("/customer-values/:customerValueId", &controllers.CustomerValueController{}, "Get:GetCustomerValue")
beego.Router("/customer-values/:customerValueId", &controllers.CustomerValueController{}, "Delete:RemoveCustomerValue")
beego.Router("/customer-values/", &controllers.CustomerValueController{}, "Get:ListCustomerValue")
}