|
|
|
@ -38,20 +38,20 @@ class TestWhiteListController extends ThinkController
|
|
|
|
|
if ($page) {
|
|
|
|
|
$this->assign('_page', $page);
|
|
|
|
|
}
|
|
|
|
|
$this->m_title = '测试白名单';
|
|
|
|
|
$this->meta_title = '测试白名单';
|
|
|
|
|
$this->assign('data',$data);
|
|
|
|
|
$this->display();
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public function add() {
|
|
|
|
|
$this->m_title = '测试白名单添加';
|
|
|
|
|
$this->meta_title = '测试白名单添加';
|
|
|
|
|
$this->assign('title','新增');
|
|
|
|
|
$this->display();
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public function edit() {
|
|
|
|
|
$this->m_title = '测试白名单编辑';
|
|
|
|
|
$this->meta_title = '测试白名单编辑';
|
|
|
|
|
$this->assign('title','编辑');
|
|
|
|
|
$this->display("add");
|
|
|
|
|
}
|
|
|
|
|