<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>

                合規國際互聯網加速 OSASE為企業客戶提供高速穩定SD-WAN國際加速解決方案。 廣告
                #### html頁面需要加入 ~~~ <meta http-equiv="Access-Control-Allow-Origin" content="" /> <meta http-equiv="content-security-policy" /> ~~~ #### php端需要加 ~~~ header('Access-Control-Allow-Origin:*'); ~~~ #### jsonp ajax可以這樣寫 ~~~ var href='http://qxu1142200245.my3w.com/index.php/Home/Login/login'; jQuery.ajax({ url:href, data:{ username:account, password:password }, dataType: "jsonp", success: function(json){ if(json.status==1){ mui.toast(json.info); localStorage.setItem('username',account); mui.openWindow({ id:'home', url:'home.html', show:{ aniShow:'pop-in' }, waiting:{ autoShow:true } }); }else{ mui.toast(json.info); } }, error: function(XMLHttpRequest, textStatus, errorThrown) { alert(XMLHttpRequest.status); alert(XMLHttpRequest.readyState); alert(textStatus); } }) ~~~ #### thinkphp 后端可以這樣哦 ~~~ public function login(){ //if(!IS_AJAX) $this->error('頁面不存在'); $username=I('get.username'); $password=md5(I('get.password')); $userDb=M('user')->where(array('username'=>$username))->find(); if($userDb['password']!=$password){ $data=array( 'info'=>'用戶名或密碼不正確', 'status'=>0, ); $this->ajaxReturn($data,'jsonp'); }else{ $data=array( 'info'=>'登錄成功!正在跳轉', 'status'=>1, ); $this->ajaxReturn($data,'jsonp'); } } ~~~
                  <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>

                              哎呀哎呀视频在线观看