zhuchengjie 2 years ago
parent
commit
5cd4cc848b
1 changed files with 1 additions and 1 deletions
  1. 1 1
      app/Http/Controllers/QuickApp/Book/BookController.php

+ 1 - 1
app/Http/Controllers/QuickApp/Book/BookController.php

@@ -1011,7 +1011,7 @@ class BookController extends BaseController
         $type = $request->get('type','');
         $id = $request->get('ids','');
         $distribution_id = $this->distribution_channel_id;
-        if(empty($type) || empty($id) || empty($distribution_id)){
+        if(empty($id) || empty($distribution_id)){
             return response()->success();
         }
         \Log::info('getCheckAdvertisement:type:'.$type.' id:'.$id);