|
|
@@ -36,10 +36,10 @@ class PcIssueService extends BaseService
|
|
|
->get();
|
|
|
$now = time();
|
|
|
$pc28Switch = Config::where('field', 'pc28_switch')->first()->val;
|
|
|
-
|
|
|
+ $now += 30;
|
|
|
|
|
|
foreach ($list as $index => $item) {
|
|
|
- if (strtotime($item->end_time) - 30 <= $now) {
|
|
|
+ if (strtotime($item->end_time) < $now) {
|
|
|
$item->status = PcIssue::STATUS_CLOSE;
|
|
|
$item->save();
|
|
|
|
|
|
@@ -268,6 +268,7 @@ class PcIssueService extends BaseService
|
|
|
if (strtotime($issue->end_time) <= $now) {
|
|
|
static::createIssueNo();
|
|
|
} else {
|
|
|
+ // 群通知,发送玩法规则和开始下注的通知
|
|
|
static::betting($new_str);
|
|
|
}
|
|
|
}
|