Commit 35382c17 by feixiang

连接池配置修改

parent 2a9764f8
...@@ -75,7 +75,8 @@ class BuyerPoolConfig extends PoolProperties ...@@ -75,7 +75,8 @@ class BuyerPoolConfig extends PoolProperties
* *
*/ */
protected $uri = [ protected $uri = [
"192.168.3.100:8101" "172.21.0.2:8099",
"172.16.255.174:8099"
]; ];
......
...@@ -16,13 +16,13 @@ use Swoft\Core\ResultInterface; ...@@ -16,13 +16,13 @@ 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 deferGetOrderInfo(int $storeId,int $orderId)
*/ */
interface OrderInterface interface OrderInterface
{ {
/** /**
* 创建订单 * 创建订单
* @param string $token * @param int $buyerId
* @param int $storeId
* @param int $consignee_id * @param int $consignee_id
* @param int $item_id * @param int $item_id
* @param int $selected_num * @param int $selected_num
...@@ -36,7 +36,8 @@ interface OrderInterface ...@@ -36,7 +36,8 @@ interface OrderInterface
* @return mixed * @return mixed
*/ */
public function createOrder( public function createOrder(
string $token, int $buyerId,
int $storeId,
int $consignee_id, int $consignee_id,
int $item_id, int $item_id,
int $selected_num, int $selected_num,
......
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