Showing
2 changed files
with
4 additions
and
5 deletions
@@ -471,7 +471,7 @@ class Facade_Auth | @@ -471,7 +471,7 @@ class Facade_Auth | ||
471 | } | 471 | } |
472 | 472 | ||
473 | //检测用户是否存在 | 473 | //检测用户是否存在 |
474 | - $auth_info = $service->getAuthByTypeAndAid($auth_type, $account); | 474 | + $auth_info = $service->getAuthByTypeAndAidNocache($auth_type, $account); //不用缓存 yuzhiyuan 2016-10-24 |
475 | if ($auth_info) | 475 | if ($auth_info) |
476 | { | 476 | { |
477 | $ret = array('code' => Config_Code::$error['user_exist']['code'], 'message' => Config_Code::$error['user_exist']['message']); | 477 | $ret = array('code' => Config_Code::$error['user_exist']['code'], 'message' => Config_Code::$error['user_exist']['message']); |
@@ -30,10 +30,9 @@ class Util_Server_Adapter_CheckServer { | @@ -30,10 +30,9 @@ class Util_Server_Adapter_CheckServer { | ||
30 | * @return bool | 30 | * @return bool |
31 | */ | 31 | */ |
32 | public static function check( $host, $port = '3306', $type = 'db') { | 32 | public static function check( $host, $port = '3306', $type = 'db') { |
33 | - if('memcache' == $type){ | ||
34 | - return true; | ||
35 | - | ||
36 | - } | 33 | +// if('memcache' == $type){ |
34 | +// return true; | ||
35 | +// } | ||
37 | if( empty ($host) || empty ($port) || empty ($type) ) { | 36 | if( empty ($host) || empty ($port) || empty ($type) ) { |
38 | throw new Util_Server_Exception ('下列参数不合法: host:'.$host.' port:'.$port.' type:'.$type ); | 37 | throw new Util_Server_Exception ('下列参数不合法: host:'.$host.' port:'.$port.' type:'.$type ); |
39 | } | 38 | } |
-
Please register or login to post a comment