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
b4c6b5f1
Commit
b4c6b5f1
authored
Jul 10, 2018
by
zhufx
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
忽略文件上传
parent
c43e4a4e
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
3 deletions
+5
-3
src/Order/Enum/OrderEnum.php
+3
-1
src/Order/Lib/OrderInterface.php
+2
-2
No files found.
src/Order/Enum/OrderEnum.php
View file @
b4c6b5f1
...
@@ -10,6 +10,7 @@ namespace Hdll\Services\Order\Enum;
...
@@ -10,6 +10,7 @@ namespace Hdll\Services\Order\Enum;
class
OrderEnum
class
OrderEnum
{
{
//订单状态
//订单状态
const
STATUS_UNPAID
=
10
;
//待支付
const
STATUS_UNPAID
=
10
;
//待支付
const
STATUS_PAID
=
20
;
//已支付
const
STATUS_PAID
=
20
;
//已支付
...
@@ -23,7 +24,8 @@ class OrderEnum
...
@@ -23,7 +24,8 @@ class OrderEnum
//订单类型
//订单类型
const
TYPE_GOODS
=
0
;
//商品订单
const
TYPE_GOODS
=
0
;
//商品订单
const
TYPE_ACTIVITY
=
1
;
//活动订单
const
TYPE_KANJIA
=
1
;
//砍价订单
const
TYPE_LIMIT
=
2
;
//限时购订单
//对账状态
//对账状态
const
BALANCE_STATE_FALSE
=
0
;
const
BALANCE_STATE_FALSE
=
0
;
...
...
src/Order/Lib/OrderInterface.php
View file @
b4c6b5f1
...
@@ -8,14 +8,14 @@
...
@@ -8,14 +8,14 @@
* @license https://github.com/swoft-cloud/swoft/blob/master/LICENSE
* @license https://github.com/swoft-cloud/swoft/blob/master/LICENSE
*/
*/
namespace
Hdll\Services\Order
\Lib
;
namespace
App
\Lib
;
use
Swoft\Core\ResultInterface
;
use
Swoft\Core\ResultInterface
;
/**
/**
* The interface of demo service
* The interface of demo service
*
*
* @method ResultInterface deferCreateOrder( string $token,int $consignee_id,
int $item_id,int $selected_num,int $order_type
,string $reservation_time = '')
* @method ResultInterface deferCreateOrder( string $token,int $consignee_id,
array $activity_info,int $selected_num,int $order_type,float $total,array $goods_info
,string $reservation_time = '')
*/
*/
interface
OrderInterface
interface
OrderInterface
{
{
...
...
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