路由规则:1. 路由可选参数 [] $为结束return [ // 路由参数name为可选 'hello/[:name]$' => 'index/hello', ];2. 闭包路由Route::rule(...
接口一 返回json 新闻接口 API地址 天行数据 http://api.tianapi.com/keji/?key=你的APIKEY&num=20 请求参数: 必须参数: apikey:...
// https://www.juhe.cn/docs/api/id/94 $movieName = empty($_GET['m'])?'':$_GET['m']; $movie = urlencode($movie...
// CURL 爬虫/钩子 $curl = curl_init(); // var_dump($curl); // 搜索关键字 $word = urlencode('小米'); // 设置APIKEY $apikey = 'APIKE...