Commit e4375777 by 冷斌

测试

短信验证
parent 4e7f1e88
...@@ -168,6 +168,11 @@ $menu = array( ...@@ -168,6 +168,11 @@ $menu = array(
), ),
), ),
'course' => array( 'course' => array(
'课程管理' => array(
'课程管理' => 'course/AdminVideo/index',
'课件管理' => 'course/AdminVideo/videoLib',
// '视频弹题管理' => 'course/AdminVideo/problemQuestionBank',
),
'真题管理' => array( '真题管理' => array(
'分类管理' => 'exams/AdminCategory/subject', '分类管理' => 'exams/AdminCategory/subject',
'考点管理' => 'exams/AdminPoint/index', '考点管理' => 'exams/AdminPoint/index',
...@@ -176,11 +181,7 @@ $menu = array( ...@@ -176,11 +181,7 @@ $menu = array(
// '成绩管理' => 'exams/AdminExamsUser/index', // '成绩管理' => 'exams/AdminExamsUser/index',
// '证书管理' => 'exams/AdminExamsCert/index', // '证书管理' => 'exams/AdminExamsCert/index',
), ),
'课程管理' => array(
'课程管理' => 'course/AdminVideo/index',
'课件管理' => 'course/AdminVideo/videoLib',
// '视频弹题管理' => 'course/AdminVideo/problemQuestionBank',
),
// '直播课管理' => array( // '直播课管理' => array(
// '直播课管理' => 'live/AdminLive/index', // '直播课管理' => 'live/AdminLive/index',
// ), // ),
......
...@@ -51,7 +51,7 @@ class AdminCategoryAction extends AdministratorAction ...@@ -51,7 +51,7 @@ class AdminCategoryAction extends AdministratorAction
public function subject() public function subject()
{ {
$this->pageTab[] = array('title' => '分类', 'tabHash' => 'subject', 'url' => U('exams/AdminCategory/subject')); $this->pageTab[] = array('title' => '分类', 'tabHash' => 'subject', 'url' => U('exams/AdminCategory/subject'));
$this->pageTab[] = array('title' => '版块', 'tabHash' => 'module', 'url' => U('exams/AdminCategory/module'));//is_admin($this->mid) && // $this->pageTab[] = array('title' => '版块', 'tabHash' => 'module', 'url' => U('exams/AdminCategory/module'));//is_admin($this->mid) &&
$treeData = model('CategoryTree')->setTable('exams_subject')->getNetworkList(0, 0, 1); $treeData = model('CategoryTree')->setTable('exams_subject')->getNetworkList(0, 0, 1);
$this->displayTree($treeData, 'exams_subject', 3); $this->displayTree($treeData, 'exams_subject', 3);
} }
...@@ -425,7 +425,7 @@ class AdminCategoryAction extends AdministratorAction ...@@ -425,7 +425,7 @@ class AdminCategoryAction extends AdministratorAction
$name = getUsername($this->mid); $name = getUsername($this->mid);
$title = '试题难度'; $title = '试题难度';
LogRecord('admin_delete', 'deleteData', array('uname' => $name, 'title' => $title, 'id' => $id), true); LogRecord('admin_delete', 'deleteData', array('uname' => $name, 'title' => $title, 'id' => $id), true);
$res = ['status' => 1, 'data' => [],'info' => '删除成功']; $res = ['status' => 1, 'data' => [],'info' => '删除成功'];
} else { } else {
// 删除 // 删除
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment