Commit 649ce112 by zhangsong

统计是否有新访客rpc

parent f0f81363
...@@ -55,4 +55,23 @@ interface VisitorInterface ...@@ -55,4 +55,23 @@ interface VisitorInterface
*/ */
public function browseAndShare(int $storeId, int $type, array $itemIds); public function browseAndShare(int $storeId, int $type, array $itemIds);
/**
* 统计是否有新访客
* @param int $storeId 店铺id
* @param int $type 类型:1砍价 2限时购 3拼团
* @param array $itemIds 活动ids列表,格式:[1,2,3],默认:null
* @return mixed
* 响应参数:
* [
* 'num' => 新访客数,
* 'time' => 上次统计时间戳,
* 'list' => [ // 参数$itemIds为空时list为空
* ['活动id' => 活动新访客数],
* ['活动id' => 活动新访客数],
* ... ...
* ]
* ]
*/
public function newVisitor(int $storeId, int $type, array $itemIds = null);
} }
\ 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