作者 lyh

测试脚本

@@ -39,7 +39,7 @@ class TestController extends BaseController @@ -39,7 +39,7 @@ class TestController extends BaseController
39 $res_data = []; 39 $res_data = [];
40 $i = 1; 40 $i = 1;
41 while ($i < 5){ 41 while ($i < 5){
42 - $url = 'https://quanqiusou.cn/extend_api/api/projects.php?page='.$i.'&pagesize=100'; 42 + $url = 'https://quanqiusou.cn/extend_api/api/projects.php?page='.$i.'&pagesize=5';
43 $result = http_get($url); 43 $result = http_get($url);
44 $data = $result['data']; 44 $data = $result['data'];
45 if(empty($data)){ 45 if(empty($data)){