Skip to content

Commit 818b93c

Browse files
authored
Update bigmodel.php
1 parent 6e9ad81 commit 818b93c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

trunk/web/bigmodel.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,7 @@
8989
curl_setopt($ch, CURLOPT_POSTFIELDS, json_encode($data));
9090
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
9191
curl_setopt($ch, CURLOPT_HTTPHEADER, $headers);
92+
curl_setopt($ch, CURLOPT_TIMEOUT, 30);
9293
// 执行cURL会话
9394
$response = curl_exec($ch);
9495
// 检查是否有错误发生

0 commit comments

Comments
 (0)