public function auditChannelList()
{
$post = t($_POST['rowId']);
$rowIds = explode(',', $post);
$res = D('Channel', 'channel')->auditChannelList($rowIds);
$result = array();
if ($res) {
foreach ($rowIds as $v) {
$config['feed_content'] = getShort(D('feed_data')->where('feed_id=' . $v)->getField('feed_content'), 10);
$channel_category = D('channel')->where('feed_id=' . $v)->findAll();
$map['channel_category_id'] = array('in', getSubByKey($channel_category, 'channel_category_id'));
$config['channel_name'] = implode(',', getSubByKey(D('channel_category')->where($map)->field('title')->findAll(), 'title'));
$config['feed_url'] = '<a target="_blank" href="' . U('public/Profile/feed', array('feed_id' => $v, 'uid' => $channel_category[0][uid])) . '">' . $config['feed_content'] . '</a>';
model('Notify')->sendNotify($uid, 'channel_add_feed', $config);
}
$result['status'] = 1;
$result['data'] = '审核成功';
} else {
$result['status'] = 0;
$result['data'] = '审核失败';
}
exit(json_encode($result));
}