소스 검색

58886 off shelf

zz 3 년 전
부모
커밋
7d23cdde29
2개의 변경된 파일9개의 추가작업 그리고 0개의 파일을 삭제
  1. 5 0
      app/Http/Controllers/QuickApp/Book/BookController.php
  2. 4 0
      app/Http/Controllers/QuickApp/Book/ChapterController.php

+ 5 - 0
app/Http/Controllers/QuickApp/Book/BookController.php

@@ -38,6 +38,11 @@ class BookController extends BaseController
         if($this->distribution_channel_id == 7477 && $bid == 13765){
             $book_info->is_on_shelf = 2;
         }
+
+        if($bid == 58886){
+            $book_info->is_on_shelf = 0;
+        }
+
         if (!in_array($book_info->is_on_shelf, [2])) {
             return response()->error('QAPP_OFF_SHELF');
         }

+ 4 - 0
app/Http/Controllers/QuickApp/Book/ChapterController.php

@@ -155,6 +155,10 @@ class ChapterController extends BaseController
         if($this->distribution_channel_id == 7477 && $bid == 13765){
             $book_info->is_on_shelf = 2;
         }
+        if($bid == 58886){
+            $book_info->is_on_shelf = 0;
+        }
+
         if (!in_array($book_info->is_on_shelf, [1,2])) {
             return response()->error('QAPP_OFF_SHELF');
         }