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