public function delWeiba()
{
if (empty($_POST['weiba_id'])) {
echo -1;
exit;
}
!is_array($_POST['weiba_id']) && ($_POST['weiba_id'] = array($_POST['weiba_id']));
$weiboId = array_map('intval', $_POST['weiba_id']);
$data['weiba_id'] = array('in', $weiboId);
$result = D('weiba')->where($data)->setField('is_del', 1);
if ($result) {
// D('weiba_post')->where('weiba_id='.$weiba_id)->delete();
// D('weiba_reply')->where('weiba_id='.$weiba_id)->delete();
// D('weiba_follow')->where('weiba_id='.$weiba_id)->delete();
// D('weiba_log')->where('weiba_id='.$weiba_id)->delete();
echo 1;
exit;
} else {
echo 0;
exit;
}
}