Explorar el Código

'渠道列表增加状态筛选'

lh hace 3 años
padre
commit
297633e5dc
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      src/Controllers/CompanyAuth/AppController.php

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

@@ -104,7 +104,7 @@ class AppController extends Controller
      */
     public function channels(ChannelQueryRequest $request)
     {
-        $is_enabled = $request->get('is_enabled', '');
+        $is_enabled = $request->get('is_enabled');
         $service = new ChannelService;
         $channels = $service->getChannelsByChannelUserIds($this->channel_user_ids, $is_enabled);
         $result = collectionTransform(new ChannelTransformer, $channels);