Authored by 於志远

取消不必要的缓存

... ... @@ -471,7 +471,7 @@ class Facade_Auth
}
//检测用户是否存在
$auth_info = $service->getAuthByTypeAndAid($auth_type, $account);
$auth_info = $service->getAuthByTypeAndAidNocache($auth_type, $account); //不用缓存 yuzhiyuan 2016-10-24
if ($auth_info)
{
$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 {
* @return bool
*/
public static function check( $host, $port = '3306', $type = 'db') {
if('memcache' == $type){
return true;
}
// if('memcache' == $type){
// return true;
// }
if( empty ($host) || empty ($port) || empty ($type) ) {
throw new Util_Server_Exception ('下列参数不合法: host:'.$host.' port:'.$port.' type:'.$type );
}
... ...