...
|
...
|
@@ -84,7 +84,7 @@ class AgentRegisterMobileController extends WeChatBaseController |
|
|
$data1['update_time']=time();
|
|
|
$data1['end_time']=time()+300;//过期时间
|
|
|
$data1['type']=2;
|
|
|
Db::name('code')->where('user_id',$user_id)->update($data1);
|
|
|
Db::name('code')->where(['user_id'=>$user_id,'phone'=>$mobile,'type'=>2])->update($data1);
|
|
|
}else{
|
|
|
$data1['name'] = $name;
|
|
|
$data1['user_id']=$user_id;
|
...
|
...
|
|