config_router.go
734 字节
package routers
import (
"github.com/astaxie/beego"
"gitlab.fjmaimaimai.com/linmadan/mmm-worth/pkg/port/beego/controllers"
)
func init() {
beego.Router("/config/task-statuses", &controllers.ConfigController{}, "Get:ListTaskStatus")
beego.Router("/config/task-types", &controllers.ConfigController{}, "Get:ListTaskType")
beego.Router("/config/task-natures", &controllers.ConfigController{}, "Get:ListTaskNature")
beego.Router("/config/customer-values", &controllers.ConfigController{}, "Get:ListCustomerValue")
beego.Router("/config/reference-resource-types", &controllers.ConfigController{}, "Get:ListReferenceResourceType")
beego.Router("/config/bid-time-matchs", &controllers.ConfigController{}, "Get:ListBidTimeMatch")
}