Commit bc07cc84 by zhangsong

修改访客接口,添加参数店铺id

parent 300d82d8
...@@ -19,9 +19,10 @@ interface VisitorInterface ...@@ -19,9 +19,10 @@ interface VisitorInterface
{ {
/** /**
*
* 添加访客 * 添加访客
* @param int $storeId
* @param array $data * @param array $data
* int $data['storeId']=> 商家id
* int $data['visitorId']=>访客id * int $data['visitorId']=>访客id
* int $data['date']=>访问时间 * int $data['date']=>访问时间
* int $data['appType']=>访问的app类型 默认传值:1前台小程序,2后台小程序 * int $data['appType']=>访问的app类型 默认传值:1前台小程序,2后台小程序
...@@ -29,6 +30,6 @@ interface VisitorInterface ...@@ -29,6 +30,6 @@ interface VisitorInterface
* string $data['headImgUrl']=>'访客头像URL' * string $data['headImgUrl']=>'访客头像URL'
* @return mixed * @return mixed
*/ */
public function add(array $data); public function add($storeId, array $data);
} }
\ 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