Commit d11be5ef by zhangsong

顾客档案自增访问数量接口添加访问时间参数

parent e7c64289
...@@ -17,7 +17,7 @@ use Swoft\Core\ResultInterface; ...@@ -17,7 +17,7 @@ use Swoft\Core\ResultInterface;
* The interface of demo service * The interface of demo service
* *
* @method ResultInterface deferAddOrder($storeId, $orderId, $goodsId, $goodsName, $orderPrice, $orderType, $orderTime, $consigneeName, $consigneePhone, $buyerId,$activityName) * @method ResultInterface deferAddOrder($storeId, $orderId, $goodsId, $goodsName, $orderPrice, $orderType, $orderTime, $consigneeName, $consigneePhone, $buyerId,$activityName)
* @method ResultInterface deferSinceAddVisitor($storeId, $buyerId) * @method ResultInterface deferSinceAddVisitor(int $storeId, int $buyerId, int $time)
*/ */
interface ProfileInterface interface ProfileInterface
{ {
...@@ -34,11 +34,12 @@ interface ProfileInterface ...@@ -34,11 +34,12 @@ interface ProfileInterface
public function AddOrder($storeId, $orderId, $goodsId, $goodsName, $orderPrice, $orderType, $orderTime, $consigneeName, $consigneePhone, $buyerId,$activityName); public function AddOrder($storeId, $orderId, $goodsId, $goodsName, $orderPrice, $orderType, $orderTime, $consigneeName, $consigneePhone, $buyerId,$activityName);
/** /**
* 自增加顾客档案流量数和最近流量时间戳 * 自增加顾客档案访问数和最近访问时间戳
* @param $storeId * @param int $storeId // 店铺id
* @param $buyerId * @param int $buyerId // 买家id
* @param int $time // 访问时间
* @return mixed * @return mixed
*/ */
public function sinceAddVisitor($storeId, $buyerId); public function sinceAddVisitor(int $storeId, int $buyerId, int $time);
} }
\ 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