|
|
@@ -164,8 +164,9 @@ class IssueService extends BaseService
|
|
|
|
|
|
$pc28Switch = Config::where('field', 'pc28_switch')->first()->val;
|
|
|
|
|
|
- $wanFaGuiZeTime = Cache::get("玩法规则推送时间");
|
|
|
+ $wanFaGuiZeTime = Cache::get("玩法规则推送时间",0);
|
|
|
$now = time();
|
|
|
+ $wanFaGuiZeTime = intval($wanFaGuiZeTime);
|
|
|
if ($now - $wanFaGuiZeTime > (60 * 15)) {
|
|
|
$replyInfo = KeyboardService::findOne(['button' => '玩法规则']);
|
|
|
if ($replyInfo) {
|