|
@@ -48,6 +48,13 @@ class ConsoleController extends BaseController
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
|
|
+ //引导关注公众号
|
|
|
|
|
+ $admin = $this->admin;
|
|
|
|
|
+ $subscribe = $admin['subscribe'] ?? 0;
|
|
|
|
|
+ if ($subscribe == 0) {
|
|
|
|
|
+ $notice = array_merge($notice, [['title' => '您还未开启微信提醒,无法接收新订单通知', 'action' => '开启', 'page' => '/pagesStatistics/pagesPublicity']]);
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
if (isset($this->shop) && !empty($this->shop)) {
|
|
if (isset($this->shop) && !empty($this->shop)) {
|
|
|
//今天访客
|
|
//今天访客
|
|
|
$todayVisit = StatVisitService::getTodayVisitNum($this->shopId);
|
|
$todayVisit = StatVisitService::getTodayVisitNum($this->shopId);
|