objMUserCenterLogin = new MUserCenterLogin(); } /** * 刷新token方法 */ public function flushToken() { $result = $this->objMUserCenterLogin->flushToken($this->onlineUserId); if ($result->isSuccess()) { parent::sendOutput($result->getData()); } else { parent::sendOutput($result->getData(), $result->getErrorCode()); } } }