|
@@ -63,6 +63,7 @@ class Client extends Base
|
|
|
private function initPassport()
|
|
|
{
|
|
|
$this->passport = Dever::load('passport/lib/base');
|
|
|
+ $this->uid = $this->passport->check(false);
|
|
|
}
|
|
|
|
|
|
private function initSave()
|
|
@@ -301,7 +302,7 @@ class Client extends Base
|
|
|
$user['country'] = $userinfo['country'];
|
|
|
}
|
|
|
|
|
|
- $user = $this->passport->wechat($data, $user, $this->account, $this->system, $this->source_type, $this->system_source, $this->source, $this->invite);
|
|
|
+ $user = $this->passport->wechat($data, $user, $this->account, $this->system, $this->source_type, $this->system_source, $this->source, $this->invite, $this->uid);
|
|
|
|
|
|
return $user;
|
|
|
}
|