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
3a751955
Commit
3a751955
authored
Jul 15, 2019
by
王召彬
Browse files
Options
Browse Files
Download
Plain Diff
解决冲突
parents
71f36bc3
dea2d985
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
21 additions
and
3 deletions
+21
-3
src/LimitTimeBuy/Lib/LimitTimeBuyInterface.php
+1
-2
src/Order/Lib/OrderInterface.php
+20
-1
No files found.
src/LimitTimeBuy/Lib/LimitTimeBuyInterface.php
View file @
3a751955
...
@@ -95,4 +95,4 @@ interface LimitTimeBuyInterface
...
@@ -95,4 +95,4 @@ interface LimitTimeBuyInterface
* @return int
* @return int
*/
*/
public
function
getNewOrderNum
(
int
$storeId
,
int
$lastTime
);
public
function
getNewOrderNum
(
int
$storeId
,
int
$lastTime
);
}
}
\ No newline at end of file
src/Order/Lib/OrderInterface.php
View file @
3a751955
...
@@ -29,6 +29,8 @@ use Swoft\Core\ResultInterface;
...
@@ -29,6 +29,8 @@ use Swoft\Core\ResultInterface;
* @method ResultInterface deferAddShopsDailyStatistic(int $storeId,int $pId)
* @method ResultInterface deferAddShopsDailyStatistic(int $storeId,int $pId)
* @method ResultInterface deferGetShopStatistic(int $storeId)
* @method ResultInterface deferGetShopStatistic(int $storeId)
* @method ResultInterface deferGetShopDailyStatistic(int $storeId,int $startDate,int $endDate)
* @method ResultInterface deferGetShopDailyStatistic(int $storeId,int $startDate,int $endDate)
* @method ResultInterface deferGetShopNewOrderNum(int $storeId)
* @method ResultInterface deferOrderCountByCondition(int $storeId,array $condition)
*/
*/
interface
OrderInterface
interface
OrderInterface
{
{
...
@@ -190,11 +192,27 @@ interface OrderInterface
...
@@ -190,11 +192,27 @@ interface OrderInterface
/**
/**
* 指定时间(段)查询店铺交易统计
* 指定时间(段)查询店铺交易统计
*
*
*
* @param integer $storeId
* @param integer $storeId
* @param integer $startDate
* @param integer $startDate
* @param integer $endDate
* @param integer $endDate
* @return array
* @return array
*/
*/
public
function
getShopDailyStatistic
(
int
$storeId
,
int
$startDate
,
int
$endDate
);
public
function
getShopDailyStatistic
(
int
$storeId
,
int
$startDate
,
int
$endDate
);
/**
* 查询店铺新订单数
*
* @param integer $storeId
* @return int
*/
public
function
getShopNewOrderNum
(
int
$storeId
);
/**
* 根据条件查询店铺订单数量(子订单数量)
*
* @param integer $storeId
* @param array $condition
* @return int
*/
public
function
orderCountByCondition
(
int
$storeId
,
array
$condition
);
}
}
\ 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