...
|
...
|
@@ -92,7 +92,7 @@ class LoginController extends HomeBaseController{ |
|
|
try{
|
|
|
Db::name('users')->where('open_id',$openid)->update(['phone'=>$phone]);
|
|
|
}catch (\Exception $exception){
|
|
|
|
|
|
$this->apiResponse(200,'error:'.$exception->getMessage());
|
|
|
}
|
|
|
$this->apiResponse(200,'success',['users_id'=>$users['id'],'type'=>1,'is_use'=>$users['is_use']]);
|
|
|
}
|
...
|
...
|
|