<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、智譜、豆包、星火、月之暗面及文生圖、文生視頻 廣告
                ```php <?php /** * @Author: ecitlm * @Date: 2017-10-26 21:25:53 * @Last Modified by: ecitlm * @Last Modified time: 2017-11-07 22:52:43 */ namespace app\api\controller; class Nba extends Base { /** * @return \think\response\Json * 獲取賽事直播列表 */ public function schedule() { $md = (isset($_GET['date'])) ? $_GET ['date'] : ""; $res = HttpGet("https://nb.3g.qq.com/nba/api/schedule@getList?md={$md}&sid="); return json([ 'msg' => 'success', 'code' => 1, 'data' => json_decode($res, true)['schedule@getList'] ]); } /** * [live_detail 比賽直播詳情信息] */ public function live_detail() { $schid = (isset($_GET['schid'])) ? $_GET ['schid'] : "1470215"; $liveid = (isset($_GET['liveid'])) ? $_GET ['liveid'] : "2009587"; $res = HttpGet("https://nb.3g.qq.com/nba/api/live@getInfo?i_schid={$schid}&i_liveid={$liveid}"); return json([ 'msg' => 'success', 'code' => 1, 'data' => json_decode($res, true)['live@getInfo']['data'] ]); } /** * @return \think\response\Json * 直播內容 */ public function live_content() { $schid = (isset($_GET['schid'])) ? $_GET ['schid'] : "1470215"; $res = HttpGet("https://live.3g.qq.com/g/s?aid=action_api&module=nba&action=broadcast_content%2Cbroadcast_info&sch_id={$schid}"); return json([ 'msg' => 'success', 'code' => 1, 'data' => json_decode($res, true)['broadcast_content']['contentAry'] ]); } /** * 球員技術統計 * @return \think\response\Json */ public function technical_statistics() { $schid = (isset($_GET['schid'])) ? $_GET ['schid'] : "1470215"; $res = HttpGet("https://live.3g.qq.com/g/s?aid=action_api&module=nba&action=live_stat_4_nba%2Cbroadcast_info&sch_id={$schid}&bid=2009605"); return json([ 'msg' => 'success', 'code' => 1, 'data' => json_decode($res, true)['live_stat_4_nba'] ]); } /** * @return \think\response\Json * 球員詳情 */ public function player_detail() { $playerid = (isset($_GET['playerid'])) ? $_GET ['playerid'] : "4130"; $res = HttpGet("https://live.3g.qq.com/g/s?aid=action_api&module=nba&action=player_detail&playerId={$playerid}&sid="); return json([ 'msg' => 'success', 'code' => 1, 'data' => json_decode($res, true)['player_detail'] ]); } /** * @return \think\response\Json * 聯盟排名 */ public function team_rank() { $res = HttpGet("https://matchweb.sports.qq.com/rank/team?columnId=100000&from=NBA"); return json([ 'msg' => 'success', 'code' => 1, 'data' => json_decode($res, true)[1] ]); } /** * @return \think\response\Json * 球隊詳情 */ public function team_info() { $id = (isset($_GET['teamId'])) ? $_GET ['teamId'] : "24"; $res = HttpGet("https://live.3g.qq.com/g/s?aid=action_api&module=nba&action=team_detail&teamId={$id}&sid="); return json([ 'msg' => 'success', 'code' => 1, 'data' => json_decode($res, true)['team_detail'] ]); } //球隊賽程 public function team_schedule(){ $id = (isset($_GET['teamId'])) ? $_GET ['teamId'] : "24"; $mouth = (isset($_GET['mouth'])) ? $_GET ['mouth'] : "11"; $res = HttpGet("https://nb.3g.qq.com/nba/api/schedule@getMonthListByTeam?teamid={$id}&mouth={$mouth}&sid="); return json([ 'msg' => 'success', 'code' => 1, 'data' => json_decode($res, true)['schedule@getMonthListByTeam']['data'] ]); } /** * 球隊陣容 */ public function Lineup() { $id = (isset($_GET['teamId'])) ? $_GET ['teamId'] : "24"; $res = HttpGet("https://live.3g.qq.com/g/s?aid=action_api&module=nba&action=team_player&teamId={$id}&sid="); return json([ 'msg' => 'success', 'code' => 1, 'data' => json_decode($res, true)['team_player']['players'] ]); } /** * @return \think\response\Json * 網易NBA新聞列表 */ public function new_list() { $page = (isset($_GET['page'])) ? $_GET ['page'] : "0"; $page = $page * 15; $res = HttpGet("https://3g.163.com/touch/reconstruct/article/list/BD2AQH4Qwangning/{$page}-15.html"); $arr = json_decode(substr($res, 9, -1), true)['BD2AQH4Qwangning']; //數據里面有一些直播的新聞數據、需要刪除那些數據 foreach ($arr as $k => $v) { if (!empty($arr[$k]['liveInfo'])) { unset($arr[$k]); } } return json([ 'msg' => 'success', 'code' => 1, 'data' => $arr ]); } /** * @return \think\response\Json * 網易NBA新聞詳情 */ public function news_info() { $id = (isset($_GET['docid'])) ? $_GET ['docid'] : "D22DCS5S0005877U"; $res = HttpGet("http://3g.163.com/touch/article/{$id}/full.html"); $arr = json_decode(substr($res, 12, -1), true); return json([ 'msg' => 'success', 'code' => 1, 'data' => $arr[$id] ]); } /** * @return \think\response\Json * 文章評論 */ public function news_comments() { $id = (isset($_GET['docid'])) ? $_GET ['docid'] : "D22DCS5S0005877U"; $res = HttpGet("https://comment.news.163.com/api/v1/products/a2869674571f77b5a0867c3d71db5856/threads/{$id}/comments/newList?offset=0&limit=20&headLimit=1&tailLimit=2&ibc=newswap&showLevelThreshold"); $arr = json_decode($res, true)['comments']; $newArr = array(); foreach ($arr as $k => $v) { array_push($newArr, $arr[$k]); } return json([ 'msg' => 'success', 'code' => 1, 'data' => $newArr ]); } /** * @return \think\response\Json * 關于個人的JSON數據 */ public function website() { return json([ 'msg' => 'success', 'code' => 1, 'data' => [ 'name' => "沒有故事的小明同學", 'job' => "Web開發工程師", 'icon' => "https://coding.it919.cn/static/images/zixia.jpg", 'address' => "深圳市南山區科技園", 'latitude' => "22.549990", 'longitude' => "113.950660", 'github' => "https://github.com/ecitlm", 'blog' => "https://code.it919.cn", 'mail' => "ecitlm@163.com", 'Motto' => '我們這一生,要走很遠的路,有如水坦途,有荊棘擋道;有簇擁同行,有孤獨漫步;有幸福如影,有苦痛襲擾;有迅跑,有疾走,有徘徊,還有回首……正因為走了許多路,經歷的無數繁華與蒼涼,才在時光的流逝中體會歲月的變遷,讓曾經稚嫩的心慢慢地趨于成熟。', 'music' => [ 'src' => "https://coding.it919.cn/static/images/lzxs.mp3", 'author' => "許冠杰", 'name' => "浪子心聲-純音樂Music", 'poster' => "https://coding.it919.cn/static/images/lzxs.jpg" ] ] ]); } /** * 轉發圖片 */ public function img() { $filename = (isset($_GET['imgurl'])) ? $_GET ['imgurl'] : "https://code.it919.cn/img/head.jpg"; header('content-type: image/jpeg'); echo file_get_contents($filename); die(); } } ```
                  <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>

                              哎呀哎呀视频在线观看