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
0d6dae93
Commit
0d6dae93
authored
Jun 27, 2019
by
zhangsong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
添加新访客统计枚举类
parent
649ce112
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
19 additions
and
1 deletions
+19
-1
src/FlowCount/Enum/FlowCategory.php
+17
-0
src/FlowCount/Lib/VisitorInterface.php
+2
-1
No files found.
src/FlowCount/Enum/FlowCategory.php
0 → 100644
View file @
0d6dae93
<?php
/**
* Created by PhpStorm.
* User: Administrator
* Date: 2018/7/26
* Time: 16:00
*/
namespace
Hdll\Services\FlowCount\Enum
;
class
FlowCategory
{
const
BARGAIN
=
1
;
// 砍价
const
LIMIT
=
2
;
// 限时购
const
GROUP
=
3
;
// 团购
}
\ No newline at end of file
src/FlowCount/Lib/VisitorInterface.php
View file @
0d6dae93
...
@@ -13,6 +13,7 @@ use Swoft\Core\ResultInterface;
...
@@ -13,6 +13,7 @@ use Swoft\Core\ResultInterface;
/**
/**
* @method ResultInterface deferAdd(int $storeId, array $data)
* @method ResultInterface deferAdd(int $storeId, array $data)
* @method ResultInterface deferBrowseAndShare(int $storeId, int $type, array $itemIds)
* @method ResultInterface deferBrowseAndShare(int $storeId, int $type, array $itemIds)
* @method ResultInterface deferNewVisitor(int $storeId, int $type, array $itemIds = null)
* Interface VisitorInterface
* Interface VisitorInterface
* @package App\Lib
* @package App\Lib
*/
*/
...
@@ -58,7 +59,7 @@ interface VisitorInterface
...
@@ -58,7 +59,7 @@ interface VisitorInterface
/**
/**
* 统计是否有新访客
* 统计是否有新访客
* @param int $storeId 店铺id
* @param int $storeId 店铺id
* @param int $type
类型:1砍价 2限时购 3
拼团
* @param int $type
类型:FlowCategory::BARGAIN 砍价 FlowCategory::LIMIT 限时购 FlowCategory::GROUP
拼团
* @param array $itemIds 活动ids列表,格式:[1,2,3],默认:null
* @param array $itemIds 活动ids列表,格式:[1,2,3],默认:null
* @return mixed
* @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