This commit is contained in:
彭桃 2023-02-07 09:43:46 +08:00
parent f6a74428b8
commit 3bbc429607

View File

@ -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);
}
}