作者 lyh

geo脚本设置

@@ -58,7 +58,7 @@ class SyncMobile extends Command @@ -58,7 +58,7 @@ class SyncMobile extends Command
58 'mobile'=>$mobile, 58 'mobile'=>$mobile,
59 'created_at'=>date('Y-m-d H:i:s') 59 'created_at'=>date('Y-m-d H:i:s')
60 ]; 60 ];
61 - $mobile->insert($param); 61 + $mobileModel->insert($param);
62 //查看当前用户是否存在 62 //查看当前用户是否存在
63 $info = $userModel->read(['mobile'=>$mobile,'project_id'=>1]); 63 $info = $userModel->read(['mobile'=>$mobile,'project_id'=>1]);
64 if($info === false){ 64 if($info === false){