Commit 1368cb69 by liwotian name

add timelist bargain __construct

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