Commit 208e9d3a by zhangsong

根据日期统计访客数

parent 92eea1a3
......@@ -14,6 +14,7 @@ use Swoft\Core\ResultInterface;
* @method ResultInterface deferAdd(int $storeId, array $data)
* @method ResultInterface deferBrowseAndShare(int $storeId, int $type, array $itemIds)
* @method ResultInterface deferNewVisitor(int $storeId, int $type, array $itemIds = null)
* @method ResultInterface deferVisitorCount(int $storeId, int $beginData, int $endData)
* Interface VisitorInterface
* @package App\Lib
*/
......@@ -74,4 +75,14 @@ interface VisitorInterface
*/
public function newVisitor(int $storeId, int $type, array $itemIds = null);
/**
* 根据日期访问统计访客数
* @param int $storeId 店铺id
* @param int $beginData 开始日期,格式:20191212
* @param int $endData 开始日期,格式:20191212
* @return mixed
* 响应参数:数字
*/
public function visitorCount(int $storeId, int $beginData, int $endData);
}
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment