...
|
...
|
@@ -86,9 +86,8 @@ 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);
|
|
|
@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);
|
|
|
//@file_put_contents('/tmp/sso',date('Y-m-d H:i:s', time()).'|ret|'.var_export($ret)."\n", FILE_APPEND);
|
|
|
return $ret;
|
|
|
}
|
|
|
|
...
|
...
|
|