api_router_register.go 259B

12345678910
  1. package admin_api_controllers
  2. import "github.com/astaxie/beego"
  3. // 管理员后台路由,以 /admin/api 为前缀
  4. func AdminAPIControllersRegisterRouters() {
  5. beego.Router("/data/upload/api/city", &CityDataUploadAPIController{}, "post:UploadCityData")
  6. }