|
@@ -389,8 +389,8 @@ class ChapterController extends BaseController
|
|
|
|
|
|
$this->is_need_subscribe = !$force_subscribe;
|
|
|
|
|
|
- //图书域名,book_configs表的promotion_domain 要跟当前的主机名匹配 在强关章节后
|
|
|
- if ($this->is_need_subscribe && $this->isVisitDomainEqualBookDomain($domain)) {
|
|
|
+ //图书域名,book_configs表的promotion_domain 要跟当前的主机名匹配 在强关章节后3章
|
|
|
+ if ($chapter->sequence > $subscribe_seq + 3 && $this->isVisitDomainEqualBookDomain($domain)) {
|
|
|
if($special_user_log && $special_user_log == $this->uid){
|
|
|
$my_log = myLog('special');
|
|
|
$my_log->info('book domain not match------------------------');
|