正在显示
1 个修改的文件
包含
1 行增加
和
1 行删除
| @@ -65,7 +65,7 @@ class Gpt | @@ -65,7 +65,7 @@ class Gpt | ||
| 65 | 65 | ||
| 66 | $time = time(); | 66 | $time = time(); |
| 67 | try { | 67 | try { |
| 68 | - $result = Http::withHeaders($this->header)->withOptions(['verify' => false])->acceptJson() | 68 | + $result = Http::withoutVerifying()->withHeaders($this->header)->withOptions(['verify' => false])->acceptJson() |
| 69 | ->withBody(json_encode($data, JSON_UNESCAPED_UNICODE), 'application/json') | 69 | ->withBody(json_encode($data, JSON_UNESCAPED_UNICODE), 'application/json') |
| 70 | ->post($url); | 70 | ->post($url); |
| 71 | $json = $result->json(); | 71 | $json = $result->json(); |
-
请 注册 或 登录 后发表评论