public function getUserList($map, $uid, $app, $type, $limit = 10)
{
if (!$uid) {
$this->error = L('PUBLIC_WRONG_DATA');
// 获取信息失败
return false;
}
!empty($app) && ($map['app'] = $app);
if (!empty($type)) {
if ($type == 'repost') {
$map['type'] = array('LIKE', '%repost');
} else {
$map['type'] = $type;
}
}
// !empty($type) && $map['type'] = $type;
if ($map['type'] == 'post') {
unset($map['type']);
$map['is_repost'] = 0;
}
$map['uid'] = $uid;
$list = $this->getList($map, $limit);
return $list;
}