作者 李宇航

合并分支 'lyh-server' 到 'master'

变更数据



查看合并请求 !3288
... ... @@ -232,7 +232,10 @@ class IndexController extends BaseController
public function prInfoDownload()
{
$url = 'http://crawl.scraper.waimaoq.com/export/issuewire?token=MT0CM7y4tdFTFTm';
$list = Http::get($url);
$this->response('success', Code::SUCCESS, ['url'=>$url,'list'=>$list]);
$response = Http::get($url);
if ($response->successful()) {
$result = $response->json();
}
$this->response('success', Code::SUCCESS, ['url'=>$url,'list'=>$result ?? []]);
}
}
... ...