|
|
@@ -151,15 +151,15 @@ class ConsoleController extends BaseController
|
|
|
$notice = [];
|
|
|
$shop = $this->shop;
|
|
|
if (!empty($shop)) {
|
|
|
- //到期前30天提醒
|
|
|
+ //到期前25天提醒
|
|
|
$deadline = $shop->deadline;
|
|
|
$currentTime = time();
|
|
|
$deadTime = strtotime($deadline);
|
|
|
$remainingSeconds = $deadTime - $currentTime;
|
|
|
$remainingDays = ceil($remainingSeconds / 86400);
|
|
|
|
|
|
- // 30天 = 2592000秒
|
|
|
- if ($remainingSeconds <= 2592000) {
|
|
|
+ // 25天 = 2160000秒
|
|
|
+ if ($remainingSeconds <= 2160000) {
|
|
|
if ($remainingSeconds <= 0) {
|
|
|
$notice[] = ['title' => '系统已到期', 'action' => '查看', 'page' => '/admin/shop/renew'];
|
|
|
} else {
|