国产+高潮+在线,国产 av 仑乱内谢,www国产亚洲精品久久,51国产偷自视频区视频,成人午夜精品网站在线观看

關(guān)于退出登陸

bigman
<?php

namespace control\user;

use control\common\userCommon;
use GatewayWorker\Lib\Gateway;

class logout extends userCommon
{

    public function main()
    {

        $sess = $this->getSession();
        $this->setSession(array());

        if (Gateway::isOnline($this->clientId) && isset($sess)) {
            Gateway::unbindUid($this->clientId, $sess);
        }

        $this->outPut();
    }

}

這樣的退出登陸邏輯上沒問題吧?

2475 2 0
2個回答

walkor 打賞

代碼看起來沒問題。不過我不熟悉你的業(yè)務(wù)邏輯,業(yè)務(wù)邏輯是否有問題要自己測試

  • 暫無評論
bigman

已經(jīng)測試過了,沒問題。多謝!

  • 暫無評論
年代過于久遠(yuǎn),無法發(fā)表回答
??