Commit 73c53c21 authored by tufengqi's avatar tufengqi

异步逻辑修改

parent c429db10
......@@ -15,6 +15,7 @@ class ThriftAsyncServiceFactoryProxy
private $instance = null;
private $transport = null;
private $socket = null;
private $tem_class = '';
const BINARY = 0;
const JSON = 1;
......@@ -36,6 +37,7 @@ class ThriftAsyncServiceFactoryProxy
$service_check_arr = $check_ret[BaseConstant::MSG];
$service_name_space_str = $service_check_arr[0];
$service_str = $service_check_arr[1];
$this->tem_class = '\\service\\' . $service_name_space_str . '\\' . $service_str;
if (empty($service_module_hosts[$service_name_space_str . '-' . $service_str])) {
$service_config = $service_default_hosts;
} else {
......
......@@ -11,7 +11,6 @@ class ThriftServiceFactoryProxy
private $instance = null;
private $transport = null;
private $socket = null;
private $tem_class = '';
const BINARY = 0;
const JSON = 1;
......@@ -28,7 +27,6 @@ class ThriftServiceFactoryProxy
$service_check_arr = $check_ret[BaseConstant::MSG];
$service_name_space_str = $service_check_arr[0];
$service_str = $service_check_arr[1];
$this->tem_class = '\\service\\' . $$service_name_space_str . '\\' . $service_str;
if (empty($service_module_hosts[$service_name_space_str . '-' . $service_str])) {
$service_config = $service_default_hosts;
} else {
......
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