Commit c5a1319c by feixiang

增加通过订单号获取订单信息服务

parent 6f109d1f
...@@ -16,6 +16,8 @@ use Swoft\Core\ResultInterface; ...@@ -16,6 +16,8 @@ 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,string $reservation_time = '') * @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,string $reservation_time = '')
* @method ResultInterface deferGetOrderInfoBySn(int $storeId, string $orderSn)
* @method ResultInterface deferGetOrderInfo(int $storeId,int $orderId)
*/ */
interface OrderInterface interface OrderInterface
{ {
...@@ -50,4 +52,6 @@ interface OrderInterface ...@@ -50,4 +52,6 @@ interface OrderInterface
string $reservation_time = ''); string $reservation_time = '');
public function getOrderInfo(int $storeId,int $orderId); public function getOrderInfo(int $storeId,int $orderId);
public function getOrderInfoBySn(int $storeId, string $orderSn);
} }
\ No newline at end of file
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