Commit c0339fbe by zhangsong

修改统计访客数接口

parent 208e9d3a
...@@ -14,7 +14,7 @@ use Swoft\Core\ResultInterface; ...@@ -14,7 +14,7 @@ use Swoft\Core\ResultInterface;
* @method ResultInterface deferAdd(int $storeId, array $data) * @method ResultInterface deferAdd(int $storeId, array $data)
* @method ResultInterface deferBrowseAndShare(int $storeId, int $type, array $itemIds) * @method ResultInterface deferBrowseAndShare(int $storeId, int $type, array $itemIds)
* @method ResultInterface deferNewVisitor(int $storeId, int $type, array $itemIds = null) * @method ResultInterface deferNewVisitor(int $storeId, int $type, array $itemIds = null)
* @method ResultInterface deferVisitorCount(int $storeId, int $beginData, int $endData) * @method ResultInterface deferVisitorCount(array $storeIds, int $beginDate, int $endDate)
* Interface VisitorInterface * Interface VisitorInterface
* @package App\Lib * @package App\Lib
*/ */
...@@ -77,12 +77,12 @@ interface VisitorInterface ...@@ -77,12 +77,12 @@ interface VisitorInterface
/** /**
* 根据日期访问统计访客数 * 根据日期访问统计访客数
* @param int $storeId 店铺id * @param array $storeIds 店铺id列表
* @param int $beginData 开始日期,格式:20191212 * @param int $beginDate 开始日期,格式:20191212
* @param int $endData 开始日期,格式:20191212 * @param int $endDate 开始日期,格式:20191212
* @return mixed * @return mixed
* 响应参数:数字 * 响应参数:数字
*/ */
public function visitorCount(int $storeId, int $beginData, int $endData); public function visitorCount(array $storeIds, int $beginDate, int $endDate);
} }
\ 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