area_router.go 352 字节
package routers

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

func init() {
	web.Router("/area/province", &controllers.AreaController{}, "Get:ProvinceList")
	web.Router("/area/province/:code/cities", &controllers.AreaController{}, "Get:ProvinceCities")
}