cqpCow hai 10 meses
pai
achega
26d60399b7
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      app/Service/OaService.php

+ 1 - 1
app/Service/OaService.php

@@ -83,7 +83,7 @@ class OaService extends Service
     {
     {
 
 
         $id = $data['id'];
         $id = $data['id'];
-        $oa = Oa::where('id', $id)->where('channel',$this->user['depart_top'][0]['depart_id'])->first();
+        $oa = Oa::where('id', $id)->first();
         $list = OaSub::where('oa_id', $id)->where('del_time', 0)->get()->toArray();
         $list = OaSub::where('oa_id', $id)->where('del_time', 0)->get()->toArray();
         $oa_sub_ids = [];
         $oa_sub_ids = [];
         foreach ($list as $v) {
         foreach ($list as $v) {