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
a60f4d49
Commit
a60f4d49
authored
Mar 27, 2019
by
王召彬
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'xmy' of
http://git.dev.2b3.cn/tencent/services
into xmy
parents
e956b712
7a24a74a
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
20 additions
and
15 deletions
+20
-15
src/Goods/Lib/GoodsInterface.php
+3
-2
src/Order/Lib/OrderInterface.php
+17
-13
No files found.
src/Goods/Lib/GoodsInterface.php
View file @
a60f4d49
...
...
@@ -19,7 +19,7 @@ use Swoft\Core\ResultInterface;
* @method ResultInterface deferListByIds($ids, $storeId)
* @method ResultInterface deferGetSkuInfo($skuId, $goodsId, $storeId)
* @method ResultInterface deferGetSkuByIds($goodsId, $skuIds, $storeId)
* @method ResultInterface deferGetSpecAttributeByGoodsId
s
($goodsId, $storeId)
* @method ResultInterface deferGetSpecAttributeByGoodsId($goodsId, $storeId)
* Interface GoodsInterface
* @package Hdll\Services\Goods\Lib
*/
...
...
@@ -127,5 +127,5 @@ interface GoodsInterface
* @return mixed
* @author work
*/
public
function
getSpecAttributeByGoodsId
s
(
$goodsId
,
$storeId
);
public
function
getSpecAttributeByGoodsId
(
$goodsId
,
$storeId
);
}
\ No newline at end of file
src/Order/Lib/OrderInterface.php
View file @
a60f4d49
...
...
@@ -15,7 +15,7 @@ use Swoft\Core\ResultInterface;
/**
* The interface of demo service
*
* @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 $message = ''); * @method ResultInterface deferGetOrderInfoBySn(int $storeId, string $orderSn, array $consigneeFields = [], array $itemFields = [])
* @method ResultInterface deferCreateOrder(int $buyerId,int $storeId,int $consigneeId,int $itemId,int $selectedNum,int $orderType,int $
activityPrice,string $goodsName,string $goodsImage,string $activityName,int $goodsId,int $goodsPrice,string $message='',int $skuId=0,int $subStoreId=0,int $couponId=0);
* @method ResultInterface deferGetOrderInfo(int $storeId,int $orderId)
* @method ResultInterface deferUpdateInfoById(int $storeId,int $orderId, array $updateInfo)
* @method ResultInterface deferGetSimpleList($storeId, $condition, $fields = ['*'])
...
...
@@ -31,20 +31,22 @@ interface OrderInterface
/**
* 创建订单
*
* @param int $buyerId
* @param int $storeId
* @param int $consigneeId
* @param int $itemId
* @param int $selectedNum
* @param int $orderType
* @param int $total
* @param int $activityPrice
* @param integer $buyerId
* @param integer $storeId
* @param integer $consigneeId
* @param integer $itemId
* @param integer $selectedNum
* @param integer $orderType
* @param integer $activityPrice
* @param string $goodsName
* @param string $goodsImage
* @param string $activityName
* @param int $goodsId
* @param int $goodsPrice
* @param int
eger
$goodsId
* @param int
eger
$goodsPrice
* @param string $message
* @param integer $skuId
* @param integer $subStoreId
* @param integer $couponId
* @return mixed
*/
public
function
createOrder
(
...
...
@@ -54,14 +56,16 @@ interface OrderInterface
int
$itemId
,
int
$selectedNum
,
int
$orderType
,
int
$total
,
int
$activityPrice
,
string
$goodsName
,
string
$goodsImage
,
string
$activityName
,
int
$goodsId
,
int
$goodsPrice
,
string
$message
=
''
string
$message
=
''
,
int
$skuId
=
0
,
int
$subStoreId
=
0
,
int
$couponId
=
0
);
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