column_setting_router.go 795 字节
package routers

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

func init() {
	beego.Router("/column-settings/", &controllers.ColumnSettingController{}, "Post:CreateColumnSetting")
	beego.Router("/column-settings/:columnSettingId", &controllers.ColumnSettingController{}, "Put:UpdateColumnSetting")
	beego.Router("/column-settings/:columnSettingId", &controllers.ColumnSettingController{}, "Get:GetColumnSetting")
	beego.Router("/column-settings/:columnSettingId", &controllers.ColumnSettingController{}, "Delete:RemoveColumnSetting")
	beego.Router("/column-settings/", &controllers.ColumnSettingController{}, "Post:ResetColumn")
	beego.Router("/column-settings/", &controllers.ColumnSettingController{}, "Get:ListColumnSetting")
}