Authored by 郝肖肖

缓存,10s,个人详情

... ... @@ -24,7 +24,7 @@ class UserData
* @param int|boolean $cache 缓存时间
* @return array 个人详情接口返回的数据
*/
public static function userData($uid, $cache = 3600)
public static function userData($uid, $cache = 10)
{
$param = Yohobuy::param();
$param['method'] = 'app.passport.profile';
... ...