Commit db1674c4 by zhufx

接口修改

parent 1d206320
...@@ -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( string $token,int $consignee_id,array $activity_info,int $selected_num,int $order_type,float $total,array $goods_info,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 = '')
*/ */
interface OrderInterface interface OrderInterface
{ {
...@@ -23,21 +23,27 @@ interface OrderInterface ...@@ -23,21 +23,27 @@ interface OrderInterface
* 创建订单 * 创建订单
* @param string $token * @param string $token
* @param int $consignee_id * @param int $consignee_id
* @param array $activity_info * @param int $activity_id
* @param int $selected_num * @param int $selected_num
* @param int $order_type * @param int $order_type
* @param float $total * @param float $total
* @param array $goods_info, * @param float $goods_price
* @param string $goods_name
* @param string $goods_image
* @param string $activity_name
* @param string $reservation_time * @param string $reservation_time
* @return mixed * @return mixed
*/ */
public function createOrder( public function createOrder(
string $token, string $token,
int $consignee_id, int $consignee_id,
array $activity_info, int $activity_id,
int $selected_num, int $selected_num,
int $order_type, int $order_type,
float $total, float $total,
array $goods_info, float $goods_price,
string $goods_name,
string $goods_image,
string $activity_name,
string $reservation_time = ''); string $reservation_time = '');
} }
\ 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