public function addWeiba()
{
// 初始化微吧列表管理菜单
$this->_initWeibaListAdminMenu();
// 列表key值 DOACTION表示操作
$this->pageKeyList = array('weiba_name', 'cid', 'logo', 'intro', 'who_can_post', 'admin_uid', 'recommend');
$this->opt['who_can_post'] = array('0' => '所有人', '1' => '吧内成员', 2 => '微吧管理员', 3 => '微吧圈主');
$this->opt['recommend'] = array('1' => L('PUBLIC_SYSTEMD_TRUE'), '0' => L('PUBLIC_SYSTEMD_FALSE'));
$list = D('WeibaCategory')->getAllWeibaCate();
$this->opt['cid'] = $list;
// 表单URL设置
$this->savePostUrl = U('weiba/Admin/doAddWeiba');
$this->notEmpty = array('weiba_name', 'cid', 'logo', 'intro');
$this->onsubmit = 'admin.checkAddWeiba(this)';
$this->displayConfig();
}