Commit a500730a by feixiang

连接池修改

parent 9c988f90
......@@ -90,7 +90,6 @@ class CommonEntity extends Model
}
$request = RequestContext::getRequest();
$testFlag = $request->query('flag');
//获取注解里的table
$res = new \ReflectionClass(static::class);
......
......@@ -25,7 +25,7 @@ class AuthPoolConfig extends PoolProperties
public function __construct()
{
// 区别本地和线上的RPC服务地址
$this->uri = explode(',', env('RPC_RESERVATION_URI', 'auth:8099'));
$this->uri = explode(',', env('RPC_AUTH_URI', 'auth:8099'));
}
......
......@@ -25,7 +25,7 @@ class BuyerPoolConfig extends PoolProperties
public function __construct()
{
// 区别本地和线上的RPC服务地址
$this->uri = explode(',', env('RPC_RESERVATION_URI', 'buyer:8099'));
$this->uri = explode(',', env('RPC_AUTH_URI', 'buyer:8099'));
}
/**
......
......@@ -22,7 +22,7 @@ class OrderPoolConfig extends PoolProperties
public function __construct()
{
// 区别本地和线上的RPC服务地址
$this->uri = explode(',', env('RPC_RESERVATION_URI', 'order:8099'));
$this->uri = explode(',', env('RPC_ORDER_URI', 'order:8099'));
}
......
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