public function doWeibaAuditConfig()
{
$list = $_POST['systemdata_list'];
$key = $_POST['systemdata_key'];
$key = $list . ':' . $key;
$value['apply_weiba_open'] = intval($_POST['apply_weiba_open']);
$value['follower_open'] = intval($_POST['follower_open']);
$value['follower'] = intval($_POST['follower']);
$value['level_open'] = intval($_POST['level_open']);
$value['level'] = intval($_POST['level']);
$value['weiba_post_open'] = intval($_POST['weiba_post_open']);
$value['weiba_post'] = intval($_POST['weiba_post']);
$value['manager_open'] = intval($_POST['manager_open']);
$res = model('Xdata')->put($key, $value);
if ($res) {
$this->assign('jumpUrl', U('weiba/Admin/weibaAuditConfig', array('tabHash' => 'weibaAuditConfig')));
$this->success('保存成功');
} else {
$this->error('保存失败');
}
}