Commit 5bd47444 by 冷斌

fix bug

parent bc2e99fb
...@@ -159,7 +159,6 @@ $menu = array( ...@@ -159,7 +159,6 @@ $menu = array(
'用户' => array( '用户' => array(
'用户管理' => 'admin/User/index', '用户管理' => 'admin/User/index',
'用户组管理' => 'admin/UserGroup/index', '用户组管理' => 'admin/UserGroup/index',
'分成比例配置' => 'admin/Config/divideIntoCourseConfig?tabHash=course',
//'部门管理' => 'admin/UserDepartment/index', //'部门管理' => 'admin/UserDepartment/index',
//'岗位管理' => 'admin/UserPost/index', //'岗位管理' => 'admin/UserPost/index',
// '讲师管理' => 'classroom/AdminTeacher/index', // '讲师管理' => 'classroom/AdminTeacher/index',
......
...@@ -1915,7 +1915,7 @@ class ConfigAction extends AdministratorAction ...@@ -1915,7 +1915,7 @@ class ConfigAction extends AdministratorAction
$arr = explode(':', $divis); $arr = explode(':', $divis);
if (count($arr) != $num || array_sum($arr) != 100) { if (count($arr) != $num || array_sum($arr) != 100) {
//$this->error("分成比例不符合规范"); $this->error("分成比例不符合规范");
} }
} }
......
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