1
This commit is contained in:
parent
f6a74428b8
commit
3bbc429607
@ -387,7 +387,8 @@ class Auth extends BaseController
|
|||||||
'jointime' => $time,
|
'jointime' => $time,
|
||||||
'createtime' => $time,
|
'createtime' => $time,
|
||||||
'updatetime' => $time,
|
'updatetime' => $time,
|
||||||
'status' => 'normal'
|
'status' => 'normal',
|
||||||
|
'mobile' => $data['phone'],
|
||||||
];
|
];
|
||||||
$n_user_id = Db::connect('nongke')->table('fa_user')->insertGetId($user_data);
|
$n_user_id = Db::connect('nongke')->table('fa_user')->insertGetId($user_data);
|
||||||
$datas = [
|
$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();
|
$msg=Db::connect('nongke')->table('fa_szxc_information_usermsg')->where('user_id',$find['n_user_id'])->cache(true)->find();
|
||||||
if ($msg){
|
if ($msg){
|
||||||
$user['no_update']=0;
|
$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);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user