1
This commit is contained in:
parent
5bf24ca939
commit
6c35b49c88
@ -67,13 +67,18 @@ class BaseAuthedController extends BaseController {
|
||||
|
||||
public function switchAccount($accountId){
|
||||
$this->accountId = $accountId;
|
||||
$this->address = null;
|
||||
$this->addressActived = false;
|
||||
$this->mysqlConn = null;
|
||||
$this->redisConn = null;
|
||||
}
|
||||
|
||||
public function switchOnlineAccount($accountId){
|
||||
$this->accountId = $accountId;
|
||||
$this->address = null;
|
||||
$this->addressActived = false;
|
||||
$this->mysqlConn = null;
|
||||
$this->redisConn = null;
|
||||
$r = $this->_getRedis($this->_getAccountId());
|
||||
$this->sessionId = $r->get(LAST_SESSION_KEY . $this->_getAccountId());
|
||||
return !empty($this->sessionId);
|
||||
|
Loading…
x
Reference in New Issue
Block a user