|
|
@@ -149,15 +149,14 @@ class ConsoleController extends BaseController
|
|
|
$get = Yii::$app->request->get();
|
|
|
$version = $get['version'] ?? 1;
|
|
|
|
|
|
- //$notice = [['title' => '2月5号起续年费涨600元,请提前安排', 'action' => '如何续', 'page' => '/admin/notice/fee']];
|
|
|
$notice = [];
|
|
|
-
|
|
|
+ //$notice[] = ['title' => '2月5号起续年费涨600元,请提前安排', 'action' => '如何续', 'page' => '/admin/notice/fee'];
|
|
|
$shop = $this->shop;
|
|
|
$deadline = $shop->deadline;
|
|
|
$currentTime = time();
|
|
|
$deadTime = strtotime($deadline);
|
|
|
if($currentTime>$deadTime){
|
|
|
- //$notice[] = ['title' => '系统已到期,5天后停用,请及时续费', 'action' => '如何续', 'page' => '/admin/notice/fee'];
|
|
|
+ $notice[] = ['title' => '系统已到期,7天后停用,请及时续费', 'action' => '如何续', 'page' => '/admin/notice/fee'];
|
|
|
}
|
|
|
|
|
|
$mainId = $this->mainId;
|