Commit d11be5ef by zhangsong

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

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