public function getCategoryByUserBind($uid)
{
$extraHash = D('channel_category')->where('ext IS NOT NULL')->getHashList('channel_category_id', 'ext');
$data = array();
foreach ($extraHash as $key => $val) {
$extra = unserialize($val);
if (!empty($extra['user_bind'])) {
in_array($uid, explode(',', $extra['user_bind'])) && ($data[] = $key);
}
}
return $data;
}