<ruby id="bdb3f"></ruby>

    <p id="bdb3f"><cite id="bdb3f"></cite></p>

      <p id="bdb3f"><cite id="bdb3f"><th id="bdb3f"></th></cite></p><p id="bdb3f"></p>
        <p id="bdb3f"><cite id="bdb3f"></cite></p>

          <pre id="bdb3f"></pre>
          <pre id="bdb3f"><del id="bdb3f"><thead id="bdb3f"></thead></del></pre>

          <ruby id="bdb3f"><mark id="bdb3f"></mark></ruby><ruby id="bdb3f"></ruby>
          <pre id="bdb3f"><pre id="bdb3f"><mark id="bdb3f"></mark></pre></pre><output id="bdb3f"></output><p id="bdb3f"></p><p id="bdb3f"></p>

          <pre id="bdb3f"><del id="bdb3f"><progress id="bdb3f"></progress></del></pre>

                <ruby id="bdb3f"></ruby>

                ??碼云GVP開源項目 12k star Uniapp+ElementUI 功能強大 支持多語言、二開方便! 廣告
                > 需要驗證登錄的 ` ~~~ <?php // +---------------------------------------------------------------------- // | Created by PHPstorm: JRKAdmin框架 [ JRKAdmin ] // +---------------------------------------------------------------------- // | Copyright (c) 2019~2022 [LuckyHHY] All rights reserved. // +---------------------------------------------------------------------- // | SiteUrl: http://www.luckyhhy.cn // +---------------------------------------------------------------------- // | Author: LuckyHhy <jackhhy520@qq.com> // +---------------------------------------------------------------------- // | Date: 2020/3/12-11:47 // +---------------------------------------------------------------------- // | Description: // +---------------------------------------------------------------------- namespace app\api\check; /** * Class ApiCheckLogin * @package app\common\controller */ class ApiCheckLogin extends ApiCheck { /** * @var * @author: LuckyHhy <jackhhy520@qq.com> * @date: 2020/3/12-11:50 */ protected $user_info; /** * @return \think\response\Json|void * @author: LuckyHhy <jackhhy520@qq.com> * @date: 2020/3/14 0014 * @name: initialize * @describe: */ public function initialize() { $header=$this->request->header(); //獲取請求token $token = isset($header['token'])?$header['token']:null; /** * 驗證是否登錄 */ if (is_null($token)) { header('Content-Type:application/json; charset=utf-8'); exit(json_encode([ 'errno' => ERRNO['SESSIONERR'], 'msg' => ERRNO_MAP['SESSIONERR']])); } /** * 驗證登錄是否過期 */ $user_info = getJWT($token); if (is_null($user_info)) { header('Content-Type:application/json; charset=utf-8'); exit(json_encode([ 'errno' => ERRNO['SESSIONERR'], 'msg' => '登錄已過期'])); } /** * 存儲用戶信息 */ $this->user_info = $user_info; } } ~~~ `
                  <ruby id="bdb3f"></ruby>

                  <p id="bdb3f"><cite id="bdb3f"></cite></p>

                    <p id="bdb3f"><cite id="bdb3f"><th id="bdb3f"></th></cite></p><p id="bdb3f"></p>
                      <p id="bdb3f"><cite id="bdb3f"></cite></p>

                        <pre id="bdb3f"></pre>
                        <pre id="bdb3f"><del id="bdb3f"><thead id="bdb3f"></thead></del></pre>

                        <ruby id="bdb3f"><mark id="bdb3f"></mark></ruby><ruby id="bdb3f"></ruby>
                        <pre id="bdb3f"><pre id="bdb3f"><mark id="bdb3f"></mark></pre></pre><output id="bdb3f"></output><p id="bdb3f"></p><p id="bdb3f"></p>

                        <pre id="bdb3f"><del id="bdb3f"><progress id="bdb3f"></progress></del></pre>

                              <ruby id="bdb3f"></ruby>

                              哎呀哎呀视频在线观看