cqpCow il y a 1 an
Parent
commit
75a9b99c1b
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      app/Service/EmployeeService.php

+ 1 - 1
app/Service/EmployeeService.php

@@ -440,7 +440,7 @@ class EmployeeService extends Service
         return [200,$list];
     }
 
-    public function departRule($data, $is_check){
+    public function departRule($data, $is_check = true){
         if($this->isEmpty($data,'data')) return [false,'数据不能为空!'];
 
         $code = array_column($data['data'],'code');