From 78846bc1b8df137c1bec0133319a8714678c7a1f Mon Sep 17 00:00:00 2001 From: billchenchina Date: Sun, 25 Apr 2021 21:58:47 +0800 Subject: [PATCH] Fix #88 Thanks to @qz-cqy! --- web/app/controllers/contests.php | 3 ++- web/app/controllers/user_info.php | 8 ++++---- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/web/app/controllers/contests.php b/web/app/controllers/contests.php index eea2b46..0ecb2be 100644 --- a/web/app/controllers/contests.php +++ b/web/app/controllers/contests.php @@ -62,13 +62,14 @@ EOD; ); if ($rest_second <= 86400) { + $notification = json_encode($upcoming_contest_name . "已经开始了。是否要跳转到比赛页面?"); echo <<
$upcoming_contest_name 倒计时