소스 검색

收货单

cqpCow 1 년 전
부모
커밋
75a9b99c1b
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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');