正在显示
1 个修改的文件
包含
1 行增加
和
1 行删除
| @@ -168,7 +168,7 @@ class ProjectAssociationServices extends BaseService | @@ -168,7 +168,7 @@ class ProjectAssociationServices extends BaseService | ||
| 168 | } | 168 | } |
| 169 | $param['sign'] = $this->getSign($param); | 169 | $param['sign'] = $this->getSign($param); |
| 170 | $url = 'https://hub.ai.cc/api/globalso_ai_customer_service/chatroom_list'; | 170 | $url = 'https://hub.ai.cc/api/globalso_ai_customer_service/chatroom_list'; |
| 171 | - $result = Http::withoutVerifying()->withOptions(['proxy' => env('CURL_PROXY')])->post($url, $param)->json(); | 171 | + $result = Http::withoutVerifying()->withOptions(['proxy' => env('CURL_PROXY')])->timeout(20)->post($url, $param)->json(); |
| 172 | if(empty($result) || $result['status'] != 200){ | 172 | if(empty($result) || $result['status'] != 200){ |
| 173 | return []; | 173 | return []; |
| 174 | } | 174 | } |
-
请 注册 或 登录 后发表评论