diff --git a/app/controller/api/Auth.php b/app/controller/api/Auth.php index 04cc577e..98002781 100644 --- a/app/controller/api/Auth.php +++ b/app/controller/api/Auth.php @@ -387,7 +387,8 @@ class Auth extends BaseController 'jointime' => $time, 'createtime' => $time, 'updatetime' => $time, - 'status' => 'normal' + 'status' => 'normal', + 'mobile' => $data['phone'], ]; $n_user_id = Db::connect('nongke')->table('fa_user')->insertGetId($user_data); $datas = [ @@ -420,6 +421,8 @@ class Auth extends BaseController $msg=Db::connect('nongke')->table('fa_szxc_information_usermsg')->where('user_id',$find['n_user_id'])->cache(true)->find(); if ($msg){ $user['no_update']=0; + $ddd['phone'] = $data['phone']; + Db::connect('nongke')->table('fa_szxc_information_usermsg')->where('user_id',$find['n_user_id'])->update($ddd); } }