client_version_router.go 707 字节
package routers

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

func init() {
	beego.Router("/v1/client_version/", &controllers.ClientVersionController{}, "POST:CreateClientVersion")
	beego.Router("/v1/client_version/:clientVersionId", &controllers.ClientVersionController{}, "PUT:UpdateClientVersion")
	beego.Router("/v1/client_version/:clientVersionId", &controllers.ClientVersionController{}, "GET:GetClientVersion")
	beego.Router("/v1/client_version/:clientVersionId", &controllers.ClientVersionController{}, "DELETE:DeleteClientVersion")
	beego.Router("/v1/client_version/", &controllers.ClientVersionController{}, "GET:ListClientVersion")
}