更新
This commit is contained in:
@@ -45,6 +45,25 @@ class CustomerController extends BaseAdminController
|
||||
return $this->data($stats);
|
||||
}
|
||||
|
||||
/**
|
||||
* @notes 今日进入分布(用于页面"今日新增"卡片的迷你柱/最近进入时间/渠道 Top5)
|
||||
*/
|
||||
public function todayArrival()
|
||||
{
|
||||
return $this->data(CustomerLogic::getTodayArrivalStats());
|
||||
}
|
||||
|
||||
/**
|
||||
* @notes 今日进入明细流水(每一次 add_external_contact 推送 = 一行,按时间倒序分页)
|
||||
*/
|
||||
public function todayArrivalList()
|
||||
{
|
||||
$pageNo = (int) $this->request->get('page_no', 1);
|
||||
$pageSize = (int) $this->request->get('page_size', 20);
|
||||
|
||||
return $this->data(CustomerLogic::getTodayArrivalList($pageNo, $pageSize));
|
||||
}
|
||||
|
||||
/**
|
||||
* @notes 获取同步设置
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user