Browse Source

最近市场

master
Lemon 5 years ago
parent
commit
d8419900b9
  1. 2
      app/Controller/v3/LocationController.php

2
app/Controller/v3/LocationController.php

@ -29,7 +29,7 @@ class LocationController extends BaseController
{ {
$lng = $this->request->input('lng',0); $lng = $this->request->input('lng',0);
$lat = $this->request->input('lat',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() public function getMarketListByLocation()

Loading…
Cancel
Save