|
@@ -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) {
|