From d8419900b9f388e7d44c99669bd4af042aa8968c Mon Sep 17 00:00:00 2001 From: Lemon <15040771@qq.com> Date: Sat, 12 Sep 2020 19:15:55 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9C=80=E8=BF=91=E5=B8=82=E5=9C=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/Controller/v3/LocationController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Controller/v3/LocationController.php b/app/Controller/v3/LocationController.php index 05d84a1..c1748c7 100644 --- a/app/Controller/v3/LocationController.php +++ b/app/Controller/v3/LocationController.php @@ -29,7 +29,7 @@ class LocationController extends BaseController { $lng = $this->request->input('lng',0); $lat = $this->request->input('lat',0); - return $this->success($this->locationService->getNearestMarket($lng,$lat)); + return $this->success(['market' => $this->locationService->getNearestMarket($lng,$lat)]); } public function getMarketListByLocation()