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

                ??一站式輕松地調用各大LLM模型接口,支持GPT4、智譜、豆包、星火、月之暗面及文生圖、文生視頻 廣告
                ``` composer require phpoffice/phpexcel ``` ``` use PHPExcel_IOFactory; use PHPExcel; //會員資料導出 public function excel(){ $PHPExcel = new PHPExcel();//實例化 for($i=1;$i<=3;$i++){ $PHPSheet = $PHPExcel->getActiveSheet(); $PHPSheet->setTitle("demo"); //給當前活動sheet設置名稱 $data=Db::table('user')->select(); $PHPSheet->setCellValue("A1","用戶id")->setCellValue("B1","賬號")->setCellValue("C1","openId")->setCellValue("D1","狀態")->setCellValue("E1","注冊時間");//表格數據 $i==2; foreach($data as $key=>$val){ $PHPSheet->setCellValue("A".$i,$val['user_id'])->setCellValue("B".$i,$val['account'])->setCellValue("C".$i,$val['openid'])->setCellValue("D".$i,$val['sys_status'])->setCellValue("E".$i,$val['create_time']);//表格數據 $i++; } } ob_end_clean(); header('Content-Type: application/vnd.openxmlformats-officedocument.spreadsheetml.sheet'); header('Content-Disposition: attachment;filename="會員.xls" '); header('Cache-Control: max-age=1'); header("Content-type: text/html; charset=utf-8"); $PHPWriter = PHPExcel_IOFactory::createWriter($PHPExcel,"Excel2007");//創建生成的格式 $PHPWriter->save("php://output"); //表示輸出到瀏覽器 } ```
                  <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>

                              哎呀哎呀视频在线观看