function fbdel()
 {
     $m = new FbModel();
     $ids = I('idstr');
     $c = $m->alias('a')->join('productoupublish_record  b on a.id=b.outnode_id', 'INNER')->where(array('a.id' => array('in', $ids), 'b.status' => 1))->count();
     if ($c > 0) {
         $this->ajaxError('发布渠道下存在理财产品不能删除!');
     }
     $result = $m->delete();
     if ($result !== false) {
         $this->ajaxSuccess('删除渠道信息成功!');
     } else {
         $this->ajaxError('删除渠道信息失败!');
     }
 }