Commit 0c4a0400 by zhangsong

Merge branch 'testrecharge' into test

parents 868140b4 cfd284a5
......@@ -64,7 +64,6 @@ interface VisitorInterface
* @return mixed
* 响应参数:
* [
* 'num' => 新访客数,
* 'time' => 上次统计时间戳,
* 'list' => [ // 参数$itemIds为空时list为空
* ['活动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
* 通过商品id 获取是否 有正在服务的次卡用户
* @param int $storeId
* @param int $goodsId
* @return bool
* @return int 返回状态:Status::OK 可删除 Status::EXIST 次卡存在 Status::BUY次卡存在购买用户
*
*/
public function getTimesCardUserCardInfo(
int $storeId, int $goodsId
);
public function getTimesCardUserCardInfo(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