...
|
...
|
@@ -49,7 +49,7 @@ class Sms extends Api |
|
|
//未注册
|
|
|
$this->error(__('未注册'));
|
|
|
} elseif ($event == 'bind' && $userinfo) {
|
|
|
$third = Db::name('user_third')->where('user_id',$userinfo['id'])->where('platform','wechat')->find();
|
|
|
$third = db('user_third')->where('user_id',$userinfo['id'])->where('platform','wechat')->find();
|
|
|
if($third){
|
|
|
//被绑定
|
|
|
$this->error(__('该手机号已绑定微信'));
|
...
|
...
|
|