|
@@ -15,14 +15,10 @@ class SourceController extends BaseController
|
15
|
public function getSource()
|
15
|
public function getSource()
|
16
|
{
|
16
|
{
|
17
|
$client = new Client();
|
17
|
$client = new Client();
|
18
|
- $time = time();
|
|
|
19
|
$url = 'https://jzsc.mohurd.gov.cn/APi/webApi/dataservice/query/comp/list';
|
18
|
$url = 'https://jzsc.mohurd.gov.cn/APi/webApi/dataservice/query/comp/list';
|
20
|
$header = [
|
19
|
$header = [
|
21
|
'User-Agent' => 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/122.0.0.0 Safari/537.36',
|
20
|
'User-Agent' => 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/122.0.0.0 Safari/537.36',
|
22
|
- 'Referer' => 'https://jzsc.mohurd.gov.cn/home',
|
|
|
23
|
- 'Cookie' => 'Hm_lvt_b1b4b9ea61b6f1627192160766a9c55c=1722159155; HMACCOUNT=770873722DFFDFD2; Hm_lpvt_b1b4b9ea61b6f1627192160766a9c55c=1722165912',
|
|
|
24
|
- 'Accesstoken' => 'jkFXxgu9TcpocIyCKmJ+tfpxe/45B9dbWMUXhdY7vLWkw4PNGtQkV0GzhDucU6n4hpUUKvcMtoMqfGfwdLCb8g==',
|
|
|
25
|
- 'V' => 231012
|
|
|
|
|
21
|
+ 'v' => 231012
|
26
|
];
|
22
|
];
|
27
|
$params = [
|
23
|
$params = [
|
28
|
'complexname' => '成都翔威建筑工程有限公司',
|
24
|
'complexname' => '成都翔威建筑工程有限公司',
|