|
@@ -656,7 +656,7 @@ class util
|
|
}
|
|
}
|
|
$url = BASE_SITE_URL . "/mobile/callback/refill_baidu.php";
|
|
$url = BASE_SITE_URL . "/mobile/callback/refill_baidu.php";
|
|
go(function () use ($url, $status,$order_sn) {
|
|
go(function () use ($url, $status,$order_sn) {
|
|
- sleep(1);
|
|
|
|
|
|
+ sleep(3);
|
|
while (true)
|
|
while (true)
|
|
{
|
|
{
|
|
$resp = http_request($url,['status' => $status,'order_sn' => $order_sn],'GET', false, [], $net_errno);
|
|
$resp = http_request($url,['status' => $status,'order_sn' => $order_sn],'GET', false, [], $net_errno);
|
|
@@ -680,7 +680,7 @@ class util
|
|
|
|
|
|
$url = BASE_SITE_URL . "/mobile/callback/refill_baidu.php";
|
|
$url = BASE_SITE_URL . "/mobile/callback/refill_baidu.php";
|
|
go(function () use ($url, $status,$order_sn) {
|
|
go(function () use ($url, $status,$order_sn) {
|
|
- sleep(1);
|
|
|
|
|
|
+ sleep(3);
|
|
while (true)
|
|
while (true)
|
|
{
|
|
{
|
|
$resp = http_request($url,['status' => $status,'order_sn' => $order_sn],'GET', false, [], $net_errno);
|
|
$resp = http_request($url,['status' => $status,'order_sn' => $order_sn],'GET', false, [], $net_errno);
|