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
93c15eb1
Commit
93c15eb1
authored
Sep 03, 2018
by
feixiang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改价格
parent
54068342
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
23 additions
and
20 deletions
+23
-20
src/Order/Lib/OrderInterface.php
+23
-20
No files found.
src/Order/Lib/OrderInterface.php
View file @
93c15eb1
...
@@ -15,7 +15,7 @@ use Swoft\Core\ResultInterface;
...
@@ -15,7 +15,7 @@ use Swoft\Core\ResultInterface;
/**
/**
* The interface of demo service
* The interface of demo service
*
*
* @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,int $goodsId,string $reservation_time = '')
* @method ResultInterface deferCreateOrder(
int $buyerId,int $storeId,int $consigneeId,int $itemId,int $selectedNum,int $orderType,int $total,int $activityPrice,string $goodsName,string $goodsImage,string $activityName,int $goodsId,int $goodsPrice,string $reservation_time = '');
* @method ResultInterface deferGetOrderInfoBySn(int $storeId, string $orderSn)
* @method ResultInterface deferGetOrderInfoBySn(int $storeId, string $orderSn)
* @method ResultInterface deferGetOrderInfo(int $storeId,int $orderId)
* @method ResultInterface deferGetOrderInfo(int $storeId,int $orderId)
* @method ResultInterface deferUpdateInfoById(int $storeId,int $orderId, array $updateInfo)
* @method ResultInterface deferUpdateInfoById(int $storeId,int $orderId, array $updateInfo)
...
@@ -27,34 +27,37 @@ interface OrderInterface
...
@@ -27,34 +27,37 @@ interface OrderInterface
{
{
/**
/**
* 创建订单
* 创建订单
*
* @param int $buyerId
* @param int $buyerId
* @param int $storeId
* @param int $storeId
* @param int $consignee_id
* @param int $consigneeId
* @param int $item_id
* @param int $itemId
* @param int $selected_num
* @param int $selectedNum
* @param int $order_type
* @param int $orderType
* @param float $total
* @param int $total
* @param float $goods_price
* @param int $activityPrice
* @param string $goods_name
* @param string $goodsName
* @param string $goods_image
* @param string $goodsImage
* @param string $activity_name
* @param string $activityName
* @param int $goodsId,
* @param int $goodsId
* @param int $goodsPrice
* @param string $reservation_time
* @param string $reservation_time
* @return mixed
* @return mixed
*/
*/
public
function
createOrder
(
public
function
createOrder
(
int
$buyerId
,
int
$buyerId
,
int
$storeId
,
int
$storeId
,
int
$consignee
_i
d
,
int
$consignee
I
d
,
int
$item
_i
d
,
int
$item
I
d
,
int
$selected
_n
um
,
int
$selected
N
um
,
int
$order
_t
ype
,
int
$order
T
ype
,
floa
t
$total
,
in
t
$total
,
float
$goods_p
rice
,
int
$activityP
rice
,
string
$goods
_n
ame
,
string
$goods
N
ame
,
string
$goods
_i
mage
,
string
$goods
I
mage
,
string
$activity
_n
ame
,
string
$activity
N
ame
,
int
$goodsId
,
int
$goodsId
,
int
$goodsPrice
,
string
$reservation_time
=
''
);
string
$reservation_time
=
''
);
public
function
getOrderInfo
(
int
$storeId
,
int
$orderId
);
public
function
getOrderInfo
(
int
$storeId
,
int
$orderId
);
...
...
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