Commit db1674c4 by zhufx

接口修改

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