@@ -116,6 +116,7 @@ class ConstructionService extends Service
DB::rollBack();
return [false,$exception->getMessage()];
}
+// $params = $this->getDataFile($data);
return [true,''];
@@ -403,4 +403,12 @@ class Service
return $childIds;
+
+ public function getDataFile($data){
+ foreach ($data as $key => $value){
+ if($key == 'depart_id' || $key == 'top_depart_id') unset($data[$key]);
+ }
+ return $data;