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
ac81e738
Commit
ac81e738
authored
May 13, 2019
by
王召彬
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'xmy' of
http://git.dev.2b3.cn/tencent/services
into xmy
parents
ccec4c83
d8dfbdbe
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
26 additions
and
4 deletions
+26
-4
src/LimitTimeBuy/Enum/LimitTimeOrderEnum.php
+13
-4
src/Order/Lib/OrderInterface.php
+13
-0
No files found.
src/LimitTimeBuy/Enum/LimitTimeOrderEnum.php
View file @
ac81e738
...
...
@@ -7,9 +7,17 @@ class LimitTimeOrderEnum
//订单状态
const
STATUS_NORMAL
=
1
;
//待支付 1未支付2已经支付3异常
const
STATUS_HAVE_PAY
=
2
;
// 已经支付
const
STATUS_PAY_EXCEPTION
=
3
;
// 支付异常或过期未付
const
STATUS_PAY_REFUND
=
4
;
// 退款
const
STATUS_NORMAL
=
1
;
//待支付 1未支付2已经支付3异常 //=未付款
const
STATUS_HAVE_PAY
=
2
;
// 已经支付 //=已下单
const
STATUS_PAY_EXCEPTION
=
3
;
// 支付异常或过期未付 //=关闭订单
const
STATUS_PAY_REFUND
=
4
;
// 退款 //=已过期
//------------状态转换-----------------------
const
NOT_PAY
=
3
;
//未付款
const
HAVE_PAID_ORDER
=
4
;
//已下单
const
CLOSED
=
7
;
//关闭订单
const
OVERDUE
=
8
;
//已过期
}
\ No newline at end of file
src/Order/Lib/OrderInterface.php
View file @
ac81e738
...
...
@@ -28,6 +28,7 @@ use Swoft\Core\ResultInterface;
* @method ResultInterface deferOrderCount(int $storeId,int $orderType,array $itemIds)
* @method ResultInterface deferAddShopsDailyStatistic(int $storeId,int $pId)
* @method ResultInterface deferGetShopStatistic(int $storeId)
* @method ResultInterface deferGetShopDailyStatistic(int $storeId,int $startDate,int $endDate)
*/
interface
OrderInterface
{
...
...
@@ -184,4 +185,15 @@ interface OrderInterface
* @return array
*/
public
function
getShopStatistic
(
int
$storeId
);
/**
* 指定时间(段)查询店铺交易统计
*
*
* @param integer $storeId
* @param integer $startDate
* @param integer $endDate
* @return array
*/
public
function
getShopDailyStatistic
(
int
$storeId
,
int
$startDate
,
int
$endDate
);
}
\ 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