|
@@ -426,6 +426,14 @@ class ChapterController extends BaseController
|
|
|
|
|
|
$this->is_need_subscribe = !$force_subscribe;
|
|
$this->is_need_subscribe = !$force_subscribe;
|
|
|
|
|
|
|
|
+ if($bid == 5254){
|
|
|
|
+ $this->book_info->promotion_domain = 'leyuee.com';
|
|
|
|
+ if(stripos($this->book_info->promotion_domain, $domain) === false){
|
|
|
|
+ return response()->error('WAP_DOMAIN_NOT_MATCH', [
|
|
|
|
+ 'url' => $this->getCorrespondBookUrl()
|
|
|
|
+ ]);
|
|
|
|
+ }
|
|
|
|
+ }
|
|
//图书域名,book_configs表的promotion_domain 要跟当前的主机名匹配 在强关章节后3章
|
|
//图书域名,book_configs表的promotion_domain 要跟当前的主机名匹配 在强关章节后3章
|
|
if ($chapter->sequence > $subscribe_seq + 3 && $this->isVisitDomainEqualBookDomain($domain)) {
|
|
if ($chapter->sequence > $subscribe_seq + 3 && $this->isVisitDomainEqualBookDomain($domain)) {
|
|
if($special_user_log && $special_user_log == $this->uid){
|
|
if($special_user_log && $special_user_log == $this->uid){
|