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
5f9a99ec
Commit
5f9a99ec
authored
Dec 12, 2019
by
dzhang
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'test' of
http://git.dev.2b3.cn/tencent/services
into test
parents
512791e3
05e953d4
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
30 additions
and
0 deletions
+30
-0
src/GroupBooking/Lib/GroupBookingInterface.php
+12
-0
src/LimitTimeBuy/Lib/LimitTimeBuyInterface.php
+8
-0
src/Lottery/Lib/LotteryInterface.php
+10
-0
No files found.
src/GroupBooking/Lib/GroupBookingInterface.php
View file @
5f9a99ec
...
...
@@ -8,6 +8,7 @@
namespace
Hdll\Services\GroupBooking\Lib
;
use
App\Exception\ServiceException
;
use
Swoft\Core\ResultInterface
;
/**
...
...
@@ -15,6 +16,7 @@ use Swoft\Core\ResultInterface;
* @method ResultInterface deferHasActivity($storeId, $goodsId)
* @method ResultInterface deferAdminCountActivity($storeId)
* @method ResultInterface deferGetNewOrderNum($storeId, $time)
* @method ResultInterface deferGetOnGoing($storeId, $fields = ['*'])
* Interface GoodsInterface
* @package Hdll\Services\Goods\Lib
*/
...
...
@@ -59,4 +61,13 @@ interface GroupBookingInterface
* @return number
*/
public
function
getNewOrderNum
(
$storeId
,
$time
);
/**
* 获取进行中的活动
* @param $storeId
* @param array $fields
* @return mixed
*/
public
function
getOnGoing
(
$storeId
,
$fields
=
[
'*'
]);
}
\ No newline at end of file
src/LimitTimeBuy/Lib/LimitTimeBuyInterface.php
View file @
5f9a99ec
...
...
@@ -21,6 +21,7 @@ use Swoft\Core\ResultInterface;
* @method ResultInterface deferGetLimitInfo(int $storeId, int $goodsId)
* @method ResultInterface deferPayStatus(string $store_id,int $limit_id, int $status, int $orderId)
* @method ResultInterface deferGetLimitCounts(int $storeId)
* @method ResultInterface deferGetNotEndedActivityList($storeId)
* @method ResultInterface deferGetNewOrderNum(int $storeId,int $lastTime)
*/
interface
LimitTimeBuyInterface
...
...
@@ -86,6 +87,13 @@ interface LimitTimeBuyInterface
*/
public
function
getLimitCounts
(
int
$storeId
);
/**
* 获取店铺尚未结束的活动列表
*
* @return mixed
*/
public
function
getNotEndedActivityList
(
$storeId
);
/**
*获取自上次时间以来产生的新订单数
...
...
src/Lottery/Lib/LotteryInterface.php
View file @
5f9a99ec
...
...
@@ -7,6 +7,7 @@ use Swoft\Core\ResultInterface;
/**
* @method ResultInterface deferAdminCountActivity($storeId)
* @method ResultInterface deferGetNewOrderNum($storeId, $time)
* @method ResultInterface deferGetOnGoing($storeId, $fields = ['*'])
* Class LotteryInterface
* @package Hdll\Services\Lottery\Lib
*/
...
...
@@ -35,4 +36,12 @@ interface LotteryInterface
* @author work
*/
public
function
getNewOrderNum
(
$storeId
,
$time
);
/**
* 获取正在进行的活动
* @param $storeId
* @param array $fields
* @return mixed
*/
public
function
getOnGoing
(
$storeId
,
$fields
=
[
'*'
]);
}
\ 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