Browse Source

固定16服务器ip测试

master
wanghongjun 1 month ago
parent
commit
7d183c1eb3
  1. 4
      app/Console/Commands/SetCameraData.php

4
app/Console/Commands/SetCameraData.php

@ -44,7 +44,7 @@ class SetCameraData extends Command
$curl = curl_init(); $curl = curl_init();
curl_setopt_array($curl, [ curl_setopt_array($curl, [
CURLOPT_PORT => "8007", CURLOPT_PORT => "8010",
CURLOPT_URL => $this->sysUrl . "/api/device/camera/getBody", CURLOPT_URL => $this->sysUrl . "/api/device/camera/getBody",
CURLOPT_RETURNTRANSFER => true, CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "", CURLOPT_ENCODING => "",
@ -58,7 +58,7 @@ class SetCameraData extends Command
"Accept-Encoding: gzip, deflate, br", "Accept-Encoding: gzip, deflate, br",
"Cache-Control: no-cache", "Cache-Control: no-cache",
"Connection: keep-alive", "Connection: keep-alive",
"Host: 127.0.0.1:8007", "Host: 192.168.66.16:8010",
"User-Agent: PostmanRuntime-ApipostRuntime/1.1.0" "User-Agent: PostmanRuntime-ApipostRuntime/1.1.0"
], ],
]); ]);

Loading…
Cancel
Save