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
ec4afe47
Commit
ec4afe47
authored
Nov 07, 2018
by
王召彬
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
添加访客统计的接口
parent
75ad0a26
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
34 additions
and
0 deletions
+34
-0
src/Store/Lib/VisitorCountInterface.php
+34
-0
No files found.
src/Store/Lib/VisitorCountInterface.php
0 → 100644
View file @
ec4afe47
<?php
/**
* This file is part of Swoft.
*
* @link https://swoft.org
* @document https://doc.swoft.org
* @contact group@swoft.org
* @license https://github.com/swoft-cloud/swoft/blob/master/LICENSE
*/
namespace
Hdll\Services\Store\Lib
;
use
Swoft\Core\ResultInterface
;
/**
* The interface of visitor-count service
*
* @method ResultInterface deferUpdateVisitorData(int $storeId, int $visitorId, array $data = [])
*/
interface
VisitorCountInterface
{
/**
* 根据店铺id和访客id更新一条访客记录
* 如果已有记录,会替换更新,如果没有,会新建一条记录
*
* @param int $storeId
* @param int $visitorId
* @param array $data 此参数可选,不传表示只更新访问时间
* @return int 更新成功的条数
*/
public
function
updateVisitorData
(
int
$storeId
,
int
$visitorId
,
array
$data
=
[]);
}
\ No newline at end of file
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