...
|
...
|
@@ -153,7 +153,9 @@ class IndexController extends HomeBaseController |
|
|
'lat' => request()->param('lat'),
|
|
|
'lng' => request()->param('lng')
|
|
|
];
|
|
|
Db::name('user')->update($position);
|
|
|
if(Db::name('user')->update($position)) {
|
|
|
$this->success('', '', true);
|
|
|
}
|
|
|
}
|
|
|
|
|
|
} |
|
|
\ No newline at end of file |
...
|
...
|
|