|
...
|
...
|
@@ -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 ?? []]);
|
|
|
|
}
|
|
|
|
} |
...
|
...
|
|