Commit f0e511aa by feixiang

订单连接池修改

订单服务增加获取订单信息接口
parent a40ad27d
......@@ -77,7 +77,7 @@ class OrderPoolConfig extends PoolProperties
* @var array
*/
protected $uri = [
'192.168.3.100:8100',
'192.168.3.100:8084',
];
/**
......
......@@ -16,6 +16,7 @@ use Swoft\Core\ResultInterface;
* 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 deferGetOrderInfo(int $storeId,int $orderId)
*/
interface OrderInterface
{
......@@ -46,4 +47,6 @@ interface OrderInterface
string $goods_image,
string $activity_name,
string $reservation_time = '');
public function getOrderInfo(int $storeId,int $orderId);
}
\ 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