web_menus_router.go 437 字节
package routers

import (
	"github.com/beego/beego/v2/server/web"
	"gitlab.fjmaimaimai.com/allied-creation/allied-creation-gateway/pkg/port/beego/controllers/web_client"
)

func init() {
	web.Router("/v1/web/menus/search", &web_client.MenuController{}, "Post:MenuList")
	web.Router("/v1/web/menus", &web_client.MenuController{}, "Put:MenuUpdate")
	web.Router("/v1/web/menus/favorite", &web_client.MenuController{}, "Put:MenuFavorite")
}