client_version_router.go 646 字节
package routers

import (
	"github.com/astaxie/beego"
	"github.com/tiptok/godevp/pkg/port/beego/controllers"
)

func init() {
	beego.Router("/client-versions/", &controllers.ClientVersionController{}, "Post:CreateClientVersion")
	beego.Router("/client-versions/:id", &controllers.ClientVersionController{}, "Put:UpdateClientVersion")
	beego.Router("/client-versions/:id", &controllers.ClientVersionController{}, "Get:GetClientVersion")
	beego.Router("/client-versions/:id", &controllers.ClientVersionController{}, "Delete:RemoveClientVersion")
	beego.Router("/client-versions/", &controllers.ClientVersionController{}, "Get:ListClientVersion")
}