Commit 628cc718 by liwotianname

befor pull 0911

parent fa67e730
......@@ -20,6 +20,14 @@ use Swoft\Bean\Annotation\Value;
*/
class BargainPoolConfig extends PoolProperties
{
public function __construct()
{
// 区别本地和线上的RPC服务地址
$this->uri = explode(',', env('RPC_BARGAIN_URI', 'bargain:8099'));
}
protected $name = 'bargain';
/**
......
......@@ -19,7 +19,12 @@ use Swoft\Bean\Annotation\Value;
*/
class TimeLimitBuyPoolConfig extends PoolProperties
{
protected $name = 'bargain';
public function __construct()
{
// 区别本地和线上的RPC服务地址
$this->uri = explode(',', env('RPC_TIMELIMITBUY_URI', 'timelistbuy:8099'));
}
protected $name = 'timelimitname';
/**
* Minimum active number of connections
......
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