Commit 2bff67b5 by 王召彬

Merge branch 'test' of http://git.dev.2b3.cn/tencent/services into test

parents c2f1d95d 0c4a0400
...@@ -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' => 活动新访客数],
......
<?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
...@@ -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
);
/** /**
* 统计次卡上架数/总数 * 统计次卡上架数/总数
......
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