Commit 2cc5c7ca by feixiang

创建订单参数调整

parent bcec4cfd
...@@ -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(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 = '',string $message = ''); * @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,int $couponId = 0,string $message = '');
* @method ResultInterface deferGetOrderInfoBySn(int $storeId, string $orderSn, array $consigneeFields = [], array $itemFields = []) * @method ResultInterface deferGetOrderInfoBySn(int $storeId, string $orderSn, array $consigneeFields = [], array $itemFields = [])
* @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)
...@@ -44,26 +44,26 @@ interface OrderInterface ...@@ -44,26 +44,26 @@ interface OrderInterface
* @param string $activityName * @param string $activityName
* @param int $goodsId * @param int $goodsId
* @param int $goodsPrice * @param int $goodsPrice
* @param string $reservation_time * @param int $couponId
* @param string $message * @param string $message
* @return mixed * @return mixed
*/ */
public function createOrder( public function createOrder(
int $buyerId, int $buyerId,
int $storeId, int $storeId,
int $consigneeId, int $consigneeId,
int $itemId, int $itemId,
int $selectedNum, int $selectedNum,
int $orderType, int $orderType,
int $total, int $total,
int $activityPrice, int $activityPrice,
string $goodsName, string $goodsName,
string $goodsImage, string $goodsImage,
string $activityName, string $activityName,
int $goodsId, int $goodsId,
int $goodsPrice, int $goodsPrice,
string $reservation_time = '', int $couponId = 0,
string $message = '' string $message = ''
); );
public function getOrderInfo(int $storeId,int $orderId); 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