Commit 2f291b0c by 王召彬

修改服务地址

parent 0a28e660
...@@ -12,6 +12,7 @@ namespace Hdll\Services\Common\Pool\Config; ...@@ -12,6 +12,7 @@ namespace Hdll\Services\Common\Pool\Config;
use Swoft\Bean\Annotation\Bean; use Swoft\Bean\Annotation\Bean;
use Swoft\Pool\PoolProperties; use Swoft\Pool\PoolProperties;
use Swoft\Bean\Annotation\Value;
/** /**
* the config of service user * the config of service user
...@@ -74,13 +75,10 @@ class ReservationPoolConfig extends PoolProperties ...@@ -74,13 +75,10 @@ class ReservationPoolConfig extends PoolProperties
* '127.0.0.1:88' * '127.0.0.1:88'
* ] * ]
* </pre> * </pre>
* * @Value(name="", env="${RPC_RESERVATION_URI}")
* @var array * @var array
*/ */
protected $uri = [ protected $uri = ['172.21.0.11:8099','172.16.255.6:8099'];
'192.168.3.23:8095',
'192.168.3.23:8095',
];
/** /**
* whether to user provider(consul/etcd/zookeeper) * whether to user provider(consul/etcd/zookeeper)
......
...@@ -12,6 +12,7 @@ namespace Hdll\Services\Common\Pool\Config; ...@@ -12,6 +12,7 @@ namespace Hdll\Services\Common\Pool\Config;
use Swoft\Bean\Annotation\Bean; use Swoft\Bean\Annotation\Bean;
use Swoft\Pool\PoolProperties; use Swoft\Pool\PoolProperties;
use Swoft\Bean\Annotation\Value;
/** /**
* the config of service user * the config of service user
...@@ -74,13 +75,10 @@ class SchedulePoolConfig extends PoolProperties ...@@ -74,13 +75,10 @@ class SchedulePoolConfig extends PoolProperties
* '127.0.0.1:88' * '127.0.0.1:88'
* ] * ]
* </pre> * </pre>
* * @Value(name="", env="${RPC_SCHEDULE_URI}")
* @var array * @var array
*/ */
protected $uri = [ protected $uri = ['172.21.0.23:8099','172.16.255.197:8099'];
'192.168.3.23:8096',
'192.168.3.23:8096',
];
/** /**
* whether to user provider(consul/etcd/zookeeper) * whether to user provider(consul/etcd/zookeeper)
......
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