Commit c3e26edd by xmy

Merge remote-tracking branch 'origin/test' into test

parents 699c159d 3c6978f6
<?php
/**
* Created by PhpStorm.
* User: Administrator
* Date: 2018/7/26
* Time: 16:00
*/
namespace Hdll\Services\FlowCount\Enum;
/**
* 访问量和转发量 枚举
* Class BrowseShare
* @package Hdll\Services\FlowCount\Enum
*/
class BrowseShare
{
const GOODS = 0; // 普通商品
const BARGAIN = 1; // 砍价
const LIMIT = 2; // 限时购
const GROUP = 3; // 拼团
const RECHARGE = 4; // 储值卡
const TIMES_CARD = 5; // 次卡
const FRONT_MONEY = 6; // 定金
const AWARD = 7; // 抽奖
}
\ No newline at end of file
......@@ -8,10 +8,16 @@
namespace Hdll\Services\FlowCount\Enum;
/**
* 是否新访客 枚举
* Class FlowCategory
* @package Hdll\Services\FlowCount\Enum
*/
class FlowCategory
{
const BARGAIN = 1; // 砍价
const LIMIT = 2; // 限时购
const GROUP = 3; // 团购
const FRONTMONEY = 4; // 定金
const AWARD = 5; // 抽奖
}
\ No newline at end of file
......@@ -36,7 +36,7 @@ interface VisitorInterface
/**
* 访问量和转发量
* @param int $storeId 店铺id
* @param int $type 类型:0普通商品 1砍价 2限时购 3拼团
* @param int $type 类型(接口使用枚举:BrowseShare):0普通商品 1砍价 2限时购 3拼团 4储值卡 5次卡 6定金 7抽奖
* @param array $itemIds 商品或活动(活动指:砍价、限时购 、拼团)的id列表
* 说明:$itemIds 格式[1,2,3]
* @return ;
......@@ -59,7 +59,7 @@ interface VisitorInterface
/**
* 统计是否有新访客
* @param int $storeId 店铺id
* @param int $type 类型:FlowCategory::BARGAIN 砍价 FlowCategory::LIMIT 限时购 FlowCategory::GROUP 拼团
* @param int $type 类型(接口使用枚举:FlowCategory):1砍价 2限时购 3拼团 4定金 5抽奖
* @param array $itemIds 活动ids列表,格式:[1,2,3],默认:null
* @return mixed
* 响应参数:
......
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