|
|
@@ -701,6 +701,7 @@ class IssueService extends BaseService
|
|
|
}
|
|
|
}
|
|
|
|
|
|
+ sleep(3); // 等待开奖完成
|
|
|
|
|
|
$latestIssue = $list[0]; // 最后开奖
|
|
|
|
|
|
@@ -732,7 +733,7 @@ class IssueService extends BaseService
|
|
|
// 停止下注
|
|
|
public static function syncCloseIssue()
|
|
|
{
|
|
|
- $now_date = date('Y-m-d H:i:s',time() + 20); // 提前20秒
|
|
|
+ $now_date = date('Y-m-d H:i:s',time() + 30); // 提前30秒
|
|
|
$list = self::findAll(['status' => self::model()::STATUS_BETTING]);
|
|
|
|
|
|
foreach($list as $k => $v){
|