ctinyle hace 3 meses
padre
commit
cbeb90fd9c
Se han modificado 2 ficheros con 45 adiciones y 1 borrados
  1. 1 1
      app/Http/Controllers/SourceController.php
  2. 44 0
      root@47.98.171.116

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

@@ -15,7 +15,7 @@ class SourceController extends BaseController
15 15
     public function getSource()
16 16
     {
17 17
         $client = new Client();
18
-        $url = 'https://jzsc.mohurd.gov.cn/APi/webApi/dataservice/query/comp/list?complexname=%E5%9B%9B%E5%B7%9D%E5%85%AB%E9%9D%A2%E5%A8%81%E9%A3%8E%E5%BB%BA%E8%AE%BE%E5%B7%A5%E7%A8%8B%E6%9C%89%E9%99%90%E5%85%AC%E5%8F%B8&pg=0&pgsz=15&total=0';
18
+        $url = 'https://jzsc.mohurd.gov.cn/APi/webApi/dataservice/query/comp/list';
19 19
         $header = [
20 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',
21 21
             'Referer' => 'https://jzsc.mohurd.gov.cn/data/company',

+ 44 - 0
root@47.98.171.116

@@ -0,0 +1,44 @@
1
+APP_NAME=Laravel
2
+APP_ENV=local
3
+APP_KEY=base64:JI+ZF0lMvXOm/d8wqH3Rz1c5ffacy5GzIBebVHBYl2w=
4
+APP_DEBUG=true
5
+APP_URL=http://self.com
6
+
7
+LOG_CHANNEL=stack
8
+
9
+DB_CONNECTION=mysql
10
+DB_HOST=127.0.0.1
11
+DB_PORT=3306
12
+DB_DATABASE=laravel
13
+DB_USERNAME=root
14
+DB_PASSWORD=
15
+
16
+BROADCAST_DRIVER=log
17
+CACHE_DRIVER=file
18
+QUEUE_CONNECTION=sync
19
+SESSION_DRIVER=file
20
+SESSION_LIFETIME=120
21
+
22
+REDIS_HOST=127.0.0.1
23
+REDIS_PASSWORD=null
24
+REDIS_PORT=6379
25
+
26
+MAIL_DRIVER=smtp
27
+MAIL_HOST=smtp.mailtrap.io
28
+MAIL_PORT=2525
29
+MAIL_USERNAME=null
30
+MAIL_PASSWORD=null
31
+MAIL_ENCRYPTION=null
32
+
33
+AWS_ACCESS_KEY_ID=
34
+AWS_SECRET_ACCESS_KEY=
35
+AWS_DEFAULT_REGION=us-east-1
36
+AWS_BUCKET=
37
+
38
+PUSHER_APP_ID=
39
+PUSHER_APP_KEY=
40
+PUSHER_APP_SECRET=
41
+PUSHER_APP_CLUSTER=mt1
42
+
43
+MIX_PUSHER_APP_KEY="${PUSHER_APP_KEY}"
44
+MIX_PUSHER_APP_CLUSTER="${PUSHER_APP_CLUSTER}"