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
db1674c4
Commit
db1674c4
authored
Jul 10, 2018
by
zhufx
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
接口修改
parent
1d206320
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
5 deletions
+12
-5
src/Order/Lib/OrderInterface.php
+12
-5
No files found.
src/Order/Lib/OrderInterface.php
View file @
db1674c4
...
...
@@ -15,7 +15,7 @@ use Swoft\Core\ResultInterface;
/**
* The interface of demo service
*
* @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 = '')
* @method ResultInterface deferCreateOrder(
string $token,int $consignee_id,int $activity_id,int $selected_num,int $order_type,float $total,float $goods_price,string $goods_name,string $goods_image,string $activity_name
,string $reservation_time = '')
*/
interface
OrderInterface
{
...
...
@@ -23,21 +23,27 @@ interface OrderInterface
* 创建订单
* @param string $token
* @param int $consignee_id
* @param
array $activity_info
* @param
int $activity_id
* @param int $selected_num
* @param int $order_type
* @param float $total
* @param array $goods_info,
* @param float $goods_price
* @param string $goods_name
* @param string $goods_image
* @param string $activity_name
* @param string $reservation_time
* @return mixed
*/
public
function
createOrder
(
string
$token
,
int
$consignee_id
,
array
$activity_info
,
int
$activity_id
,
int
$selected_num
,
int
$order_type
,
float
$total
,
array
$goods_info
,
float
$goods_price
,
string
$goods_name
,
string
$goods_image
,
string
$activity_name
,
string
$reservation_time
=
''
);
}
\ 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