Commit 7e551523 by 王召彬

修改連接池地址

parent 860f216e
...@@ -23,7 +23,7 @@ class ReservationPoolConfig extends PoolProperties ...@@ -23,7 +23,7 @@ class ReservationPoolConfig extends PoolProperties
public function __construct() public function __construct()
{ {
// 区别本地和线上的RPC服务地址 // 区别本地和线上的RPC服务地址
$this->uri = explode(',', env('RPC_RESERVATION_URI', '172.21.0.11:8099,172.16.255.6:8099')); $this->uri = explode(',', env('RPC_RESERVATION_URI', 'reservation:8099'));
} }
protected $name = 'reservation'; protected $name = 'reservation';
......
...@@ -23,7 +23,7 @@ class SchedulePoolConfig extends PoolProperties ...@@ -23,7 +23,7 @@ class SchedulePoolConfig extends PoolProperties
public function __construct() public function __construct()
{ {
// 区别本地和线上的RPC服务地址 // 区别本地和线上的RPC服务地址
$this->uri = explode(',', env('RPC_SCHEDULE_URI', '172.21.0.23:8099,172.16.255.197:8099')); $this->uri = explode(',', env('RPC_SCHEDULE_URI', 'schedule:8099'));
} }
protected $name = 'schedule'; protected $name = 'schedule';
......
...@@ -23,7 +23,7 @@ class StorePoolConfig extends PoolProperties ...@@ -23,7 +23,7 @@ class StorePoolConfig extends PoolProperties
public function __construct() public function __construct()
{ {
// 区别本地和线上的RPC服务地址 // 区别本地和线上的RPC服务地址
$this->uri = explode(',', env('RPC_STORE_URI', '172.21.0.44:8099,172.16.255.190:8099')); $this->uri = explode(',', env('RPC_STORE_URI', 'store:8099'));
} }
protected $name = 'storeId'; protected $name = 'storeId';
......
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