ctinyle 3 månader sedan
förälder
incheckning
b221c6ab9c
1 ändrade filer med 1 tillägg och 5 borttagningar
  1. 1 5
      app/Http/Controllers/SourceController.php

+ 1 - 5
app/Http/Controllers/SourceController.php

@@ -15,14 +15,10 @@ class SourceController extends BaseController
15 15
     public function getSource()
16 16
     {
17 17
         $client = new Client();
18
-        $time = time();
19 18
         $url = 'https://jzsc.mohurd.gov.cn/APi/webApi/dataservice/query/comp/list';
20 19
         $header = [
21 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 23
         $params = [
28 24
             'complexname' => '成都翔威建筑工程有限公司',