liuxiaolong
2020-07-30 f08eb62fe19cff6fc72dbfc72dae0519bce82ed7
routers/router.go
@@ -45,7 +45,7 @@
   //beego.Router("/basic/api/car/app/user", &controllers.UserController{})
   rootPath := getAppRootPath()
   fmt.Println("rootPath:", rootPath)
   beego.SetStaticPath("/download", "/data3/workspace/liuxiaolong/car-service/download")
   beego.SetStaticPath("/download", rootPath+"/download")
   preApi := "/basic/api"
   beego.Router(preApi+"/car/statistic", &controllers.CarController{}, "*:Statistic")
   beego.Router(preApi+"/car/spaceNo", &controllers.CarController{}, "*:SpaceNo")