Browse Source

book special domain

zz 6 năm trước cách đây
mục cha
commit
d6ed11d318
1 tập tin đã thay đổi với 1 bổ sung0 xóa
  1. 1 0
      app/Http/Controllers/Wap/Book/ChapterController.php

+ 1 - 0
app/Http/Controllers/Wap/Book/ChapterController.php

@@ -1251,6 +1251,7 @@ class ChapterController extends BaseController
         $book_domain = $this->book_info->promotion_domain;
         if(in_array($this->distribution_channel_id,[365,4372])){
             $book_domain = 'zhuishuyun.com';
+            $this->book_info->promotion_domain = 'zhuishuyun.com';
         }
         if ($domain == 'zhuishuyun' && stripos($book_domain, 'leyuee') !== false) {
             return false;