We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a4584ae commit 6e9ad81Copy full SHA for 6e9ad81
trunk/web/yuanqi.php
@@ -81,6 +81,7 @@
81
curl_setopt($ch, CURLOPT_POSTFIELDS, json_encode($data));
82
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
83
curl_setopt($ch, CURLOPT_HTTPHEADER, $headers);
84
+curl_setopt($ch, CURLOPT_TIMEOUT, 30);
85
// 执行cURL会话
86
$response = curl_exec($ch);
87
// 检查是否有错误发生
0 commit comments