Skip to content

Commit 6e9ad81

Browse files
authored
Update yuanqi.php
1 parent a4584ae commit 6e9ad81

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

trunk/web/yuanqi.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,7 @@
8181
curl_setopt($ch, CURLOPT_POSTFIELDS, json_encode($data));
8282
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
8383
curl_setopt($ch, CURLOPT_HTTPHEADER, $headers);
84+
curl_setopt($ch, CURLOPT_TIMEOUT, 30);
8485
// 执行cURL会话
8586
$response = curl_exec($ch);
8687
// 检查是否有错误发生

0 commit comments

Comments
 (0)