|
|
@@ -155,6 +155,7 @@ class Merchant extends BaseController
|
|
|
public function updateLocal($id)
|
|
|
{
|
|
|
$data = $this->request->params([['longitude', ''], ['latitude', '']]);
|
|
|
+ var_dump($data);
|
|
|
if (!$this->repository->exists($id))
|
|
|
return app('json')->fail('数据不存在');
|
|
|
if ($data['longitude'] == '' || !$data['latitude'] == '')
|