Commit a60f4d49 by 王召彬

Merge branch 'xmy' of http://git.dev.2b3.cn/tencent/services into xmy

parents e956b712 7a24a74a
......@@ -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 deferGetSpecAttributeByGoodsIds($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 getSpecAttributeByGoodsIds($goodsId, $storeId);
public function getSpecAttributeByGoodsId($goodsId, $storeId);
}
\ No newline at end of file
......@@ -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 integer $goodsId
* @param integer $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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment