My title

TP常用规则

路由规则:1. 路由可选参数 [] $为结束return [ // 路由参数name为可选 'hello/[:name]$' => 'index/hello', ];2. 闭包路由Route::rule(...

阅读全文

API相关信息及常用网站

接口一 返回json 新闻接口 API地址 天行数据 http://api.tianapi.com/keji/?key=你的APIKEY&num=20 请求参数: 必须参数: apikey:...

阅读全文

2. CURL-XML

// https://www.juhe.cn/docs/api/id/94 $movieName = empty($_GET['m'])?'':$_GET['m']; $movie = urlencode($movie...

阅读全文

1. CURL-JSON

// CURL 爬虫/钩子 $curl = curl_init(); // var_dump($curl); // 搜索关键字 $word = urlencode('小米'); // 设置APIKEY $apikey = 'APIKE...

阅读全文

Powered By Z-BlogPHP 1.5.2 Zero

WX:xcs345525801 QQ:345525801 Tel:19521445850 Email:xcssh868@163.com

Copyright © 2020 许承胜个人博客 版权所有 备案号:皖ICP备18014705号-1