更新
This commit is contained in:
parent
1ce53203f3
commit
2121faa335
@ -161,7 +161,7 @@ class IndexController extends BaseApiController
|
||||
public function notifyAuthentication()
|
||||
{
|
||||
$parmas = Request()->param();
|
||||
Log::info('notifyAuthentication', $parmas);
|
||||
Log::error('notifyAuthentication', $parmas);
|
||||
if ($parmas) {
|
||||
Company::where('id',$parmas['id'])->update(['is_authentication'=>1]);
|
||||
return json(['success' => true, 'msg' => '成功']);
|
||||
|
@ -126,7 +126,7 @@ class TaskController extends BaseApiController
|
||||
$task['extend']['update']['terminus'] = $parmas['terminus'];
|
||||
}
|
||||
if (isset($parmas['transfer'])) {
|
||||
if( $parmas['terminus']['lnglat'][0]==null || $parmas['terminus']['lnglat'][0]<=0){
|
||||
if( $parmas['transfer']['lnglat'][0]==null || $parmas['transfer']['lnglat'][0]<=0){
|
||||
return $this->fail('定位不存在');
|
||||
}
|
||||
$res = App(RemoteController::class)->coordinate($datas, $parmas['transfer']['lnglat'][0], $parmas['transfer']['lnglat'][1]);
|
||||
|
Loading…
x
Reference in New Issue
Block a user