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
cfd284a5
Commit
cfd284a5
authored
Jul 11, 2019
by
zhangsong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改次卡是否存在绑定商品接口
parent
0d6dae93
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
20 additions
and
5 deletions
+20
-5
src/FlowCount/Lib/VisitorInterface.php
+0
-1
src/TimesCard/Enum/Status.php
+18
-0
src/TimesCard/Lib/TimesCardInterface.php
+2
-4
No files found.
src/FlowCount/Lib/VisitorInterface.php
View file @
cfd284a5
...
@@ -64,7 +64,6 @@ interface VisitorInterface
...
@@ -64,7 +64,6 @@ interface VisitorInterface
* @return mixed
* @return mixed
* 响应参数:
* 响应参数:
* [
* [
* 'num' => 新访客数,
* 'time' => 上次统计时间戳,
* 'time' => 上次统计时间戳,
* 'list' => [ // 参数$itemIds为空时list为空
* 'list' => [ // 参数$itemIds为空时list为空
* ['活动id' => 活动新访客数],
* ['活动id' => 活动新访客数],
...
...
src/TimesCard/Enum/Status.php
0 → 100644
View file @
cfd284a5
<?php
/**
* Created by PhpStorm.
* User: mac
* Date: 2019-01-10
* Time: 09:58
*/
namespace
Hdll\Services\TimesCard\Enum
;
class
Status
{
const
OK
=
1
;
// 可删除
const
EXIST
=
2
;
// 次卡存在
const
BUY
=
3
;
// 次卡存在购买用户
}
\ No newline at end of file
src/TimesCard/Lib/TimesCardInterface.php
View file @
cfd284a5
...
@@ -73,12 +73,10 @@ interface TimesCardInterface
...
@@ -73,12 +73,10 @@ interface TimesCardInterface
* 通过商品id 获取是否 有正在服务的次卡用户
* 通过商品id 获取是否 有正在服务的次卡用户
* @param int $storeId
* @param int $storeId
* @param int $goodsId
* @param int $goodsId
* @return
bool
* @return
int 返回状态:Status::OK 可删除 Status::EXIST 次卡存在 Status::BUY次卡存在购买用户
*
*
*/
*/
public
function
getTimesCardUserCardInfo
(
public
function
getTimesCardUserCardInfo
(
int
$storeId
,
int
$goodsId
);
int
$storeId
,
int
$goodsId
);
/**
/**
* 统计次卡上架数/总数
* 统计次卡上架数/总数
...
...
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