...
|
...
|
@@ -86,8 +86,10 @@ class Service_Auth extends Lib_Service |
|
|
$tag = self::$_tag_auth . strval($type);
|
|
|
$key = sprintf(self::$_key_auth . '%s_%s', $type, $auth_id);
|
|
|
$param = array('type' => $type, 'auth_id' => $auth_id);
|
|
|
|
|
|
return self::service(self::ROUTER)->tag($tag)->key($key)->expire(300)->fetchRow('getAuthByTypeAndAid', $param);
|
|
|
@file_put_contents('/tmp/sso',date('Y-m-d H:i:s', time()).'|sql|'.self::service(self::ROUTER)->getSql('getAuthByTypeAndAid', $param)."\n", FILE_APPEND);
|
|
|
$ret = self::service(self::ROUTER)->tag($tag)->key($key)->expire(300)->fetchRow('getAuthByTypeAndAid', $param);
|
|
|
@file_put_contents('/tmp/sso',date('Y-m-d H:i:s', time()).'|ret|'.var_export($ret)."\n", FILE_APPEND);
|
|
|
return $ret;
|
|
|
}
|
|
|
|
|
|
/**
|
...
|
...
|
|