Authored by zhoushuo

Merge branch 'master-20160711' into 'master'

更改缓存时间



See merge request !1
@@ -87,7 +87,7 @@ class Service_Auth extends Lib_Service @@ -87,7 +87,7 @@ class Service_Auth extends Lib_Service
87 $key = sprintf(self::$_key_auth . '%s_%s', $type, $auth_id); 87 $key = sprintf(self::$_key_auth . '%s_%s', $type, $auth_id);
88 $param = array('type' => $type, 'auth_id' => $auth_id); 88 $param = array('type' => $type, 'auth_id' => $auth_id);
89 89
90 - return self::service(self::ROUTER)->tag($tag)->key($key)->expire(self::EXPIRE)->fetchRow('getAuthByTypeAndAid', $param); 90 + return self::service(self::ROUTER)->tag($tag)->key($key)->expire(300)->fetchRow('getAuthByTypeAndAid', $param);
91 } 91 }
92 92
93 /** 93 /**