|
|
@@ -162,8 +162,8 @@ class ConsoleController extends BaseController
|
|
|
$remainingSeconds = $deadTime - $currentTime;
|
|
|
$remainingDays = ceil($remainingSeconds / 86400);
|
|
|
|
|
|
- // 25天 = 2160000秒
|
|
|
- if ($remainingSeconds <= 2160000) {
|
|
|
+ // 到期前7天提醒
|
|
|
+ if ($remainingSeconds <= 604800) {
|
|
|
if ($remainingSeconds <= 0) {
|
|
|
$notice[] = ['title' => '系统已到期', 'action' => '续费', 'page' => '/admin/shop/renew'];
|
|
|
} else {
|