|
@@ -104,9 +104,9 @@ class Role extends BaseController
|
|
|
// return error_show(1003,"该部门不存在");
|
|
|
// }
|
|
|
$work_company = isset($post['work_company']) && $post['work_company'] !==""? intval($post['work_company']):"";
|
|
|
- if($work_company==""){
|
|
|
- return error_show(1002,"参数work_company不能为空");
|
|
|
- }
|
|
|
+// if($work_company==""){
|
|
|
+// return error_show(1002,"参数work_company不能为空");
|
|
|
+// }
|
|
|
$level = isset($post['level']) ? intval($post['level']) : 0;
|
|
|
$remark = isset($post['remark']) ? trim($post['remark']) : '';
|
|
|
// if($level==""){
|