Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
S
services
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
tencent
services
Commits
6b003c86
Commit
6b003c86
authored
Sep 09, 2019
by
zhangsong
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'ft-v4-customerprofile' into test
parents
6d5b0db4
e59d5b1c
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
35 additions
and
2 deletions
+35
-2
src/FlowCount/Enum/BrowseShare.php
+28
-0
src/FlowCount/Enum/FlowCategory.php
+5
-0
src/FlowCount/Lib/VisitorInterface.php
+2
-2
No files found.
src/FlowCount/Enum/BrowseShare.php
0 → 100644
View file @
6b003c86
<?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
src/FlowCount/Enum/FlowCategory.php
View file @
6b003c86
...
...
@@ -8,6 +8,11 @@
namespace
Hdll\Services\FlowCount\Enum
;
/**
* 是否新访客 枚举
* Class FlowCategory
* @package Hdll\Services\FlowCount\Enum
*/
class
FlowCategory
{
const
BARGAIN
=
1
;
// 砍价
...
...
src/FlowCount/Lib/VisitorInterface.php
View file @
6b003c86
...
...
@@ -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
* 响应参数:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment