cqpCow 10 月之前
父節點
當前提交
26d60399b7
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      app/Service/OaService.php

+ 1 - 1
app/Service/OaService.php

@@ -83,7 +83,7 @@ class OaService extends Service
     {
 
         $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();
         $oa_sub_ids = [];
         foreach ($list as $v) {