Commit a060d697 by dzhang

modify OrderInterface

parent 18f3ff65
...@@ -16,8 +16,8 @@ use Swoft\Core\ResultInterface; ...@@ -16,8 +16,8 @@ use Swoft\Core\ResultInterface;
* The interface of demo service * The interface of demo service
* *
* @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 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 deferGetOrderDetailBySubId(int $storeId,int $subOrderId,$ifSelf=false,bool $ifExtend=true) * @method ResultInterface deferGetOrderDetailBySubId(int $storeId,int $subOrderId,$ifSelf=true,bool $ifExtend=false)
* @method ResultInterface deferGetOrderDetailByPid(int $storeId,int $pId,bool $ifExtend=true) * @method ResultInterface deferGetOrderDetailByPid(int $storeId,int $pId,bool $ifExtend=false)
* *
* @method ResultInterface deferUpdateInfoById(int $storeId,int $orderId, array $updateInfo) * @method ResultInterface deferUpdateInfoById(int $storeId,int $orderId, array $updateInfo)
* @method ResultInterface deferGetSimpleList($storeId, $condition, $fields = ['*']) * @method ResultInterface deferGetSimpleList($storeId, $condition, $fields = ['*'])
...@@ -79,7 +79,7 @@ interface OrderInterface ...@@ -79,7 +79,7 @@ interface OrderInterface
* @param boolean $ifExtend 是否涵带附加信息(如门店信息、上级信息等) * @param boolean $ifExtend 是否涵带附加信息(如门店信息、上级信息等)
* @return array * @return array
*/ */
public function getOrderDetailBySubId(int $storeId,int $subOrderId,$ifSelf=false,bool $ifExtend=true); public function getOrderDetailBySubId(int $storeId,int $subOrderId,$ifSelf=true,bool $ifExtend=false);
/** /**
* 根据主订单ID查询订单详情 * 根据主订单ID查询订单详情
* *
...@@ -88,7 +88,7 @@ interface OrderInterface ...@@ -88,7 +88,7 @@ interface OrderInterface
* @param boolean $ifExtend 是否涵带附加信息(如门店信息、上级信息等) * @param boolean $ifExtend 是否涵带附加信息(如门店信息、上级信息等)
* @return array * @return array
*/ */
public function getOrderDetailByPid(int $storeId,int $pId,bool $ifExtend=true); public function getOrderDetailByPid(int $storeId,int $pId,bool $ifExtend=false);
public function getOrderInfoBySn(int $storeId, string $orderSn, array $consigneeFields = [], array $itemFields = []); public function getOrderInfoBySn(int $storeId, string $orderSn, array $consigneeFields = [], array $itemFields = []);
......
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