Browse Source

'补充chennel_user_ids'

zhuchengjie 2 years ago
parent
commit
8c0a09a944
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/Controllers/CompanyAuth/AppController.php

+ 1 - 1
src/Controllers/CompanyAuth/AppController.php

@@ -155,7 +155,7 @@ class AppController extends Controller
         $is_enable = $request->get('is_enabled', '');
         if(!empty($phone)) {
             $channel = new ChannelService();
-            $distribution_channels = $channel->getChannelsByChannelUserIds([],$is_enable,$phone);
+            $distribution_channels = $channel->getChannelsByChannelUserIds($this->channel_user_ids,$is_enable,$phone);
             if($distribution_channels){
                 $distribution_channels = $distribution_channels->toArray();
                 $this->channel_ids = array_column($distribution_channels,'id');