|
|
@@ -154,12 +154,12 @@ class ConsoleController extends BaseController
|
|
|
if (!empty($shop)) {
|
|
|
$deadline = $shop->deadline;
|
|
|
$currentTime = time();
|
|
|
- $currentTime = $currentTime+604800;
|
|
|
+ $currentTime = $currentTime + 604800;
|
|
|
$deadTime = strtotime($deadline);
|
|
|
if ($currentTime > $deadTime) {
|
|
|
- if(time()>$deadTime){
|
|
|
+ if (time() > $deadTime) {
|
|
|
$notice[] = ['title' => '系统已到期', 'action' => '查看', 'page' => '/admin/shop/renew'];
|
|
|
- }else{
|
|
|
+ } else {
|
|
|
$notice[] = ['title' => '系统即将到期,请及时续费', 'action' => '查看', 'page' => '/admin/shop/renew'];
|
|
|
}
|
|
|
}
|
|
|
@@ -239,9 +239,13 @@ class ConsoleController extends BaseController
|
|
|
//查看财务的权限
|
|
|
$lookMoney = ShopAdminClass::lookMoneyPower($this->shopAdmin, $this->shop);
|
|
|
|
|
|
+ //$warning = '';
|
|
|
+ $warning = '明天凌晨2:00~3:00,系统升级,暂停使用';
|
|
|
+
|
|
|
util::success([
|
|
|
'asset' => $this->main,
|
|
|
'notice' => $notice,
|
|
|
+ 'warning' => $warning,
|
|
|
'todayData' => [
|
|
|
'income' => $todaySale,
|
|
|
'order' => $orderNum,
|