zz 6 years ago
parent
commit
135ae216fe
1 changed files with 2 additions and 2 deletions
  1. 2 2
      app/Http/Controllers/Wap/Book/ChapterController.php

+ 2 - 2
app/Http/Controllers/Wap/Book/ChapterController.php

@@ -325,9 +325,9 @@ class ChapterController extends BaseController
         $this->cid = $cid;
         //图书域名,book_configs表的promotion_domain 要跟当前的主机名匹配
         if ($this->isVisitDomainEqualBookDomain($domain)) {
-            /*return response()->error('WAP_DOMAIN_NOT_MATCH', [
+            return response()->error('WAP_DOMAIN_NOT_MATCH', [
                 'url' => $this->getCorrespondBookUrl()
-            ]);*/
+            ]);
         }
 
         //下架图书不能看