|
|
|
@ -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() |
|
|
|
|