Explorar el Código

site 166 special subscriobe

zz hace 6 años
padre
commit
0e83ece621
Se han modificado 1 ficheros con 3 adiciones y 0 borrados
  1. 3 0
      app/Http/Controllers/Wap/Book/ChapterController.php

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

@@ -828,6 +828,9 @@ class ChapterController extends BaseController
             return false;
             return false;
         }
         }
 
 
+        if(in_array($this->distribution_channel_id,[166])){
+            return ['error_type' => 'WAP_NOT_SUBSCRIBE', 'data' => ['src' => 'http://a.veiyouw.com/replace/uSMJS5Pa1550310949446']];
+        }
         //如果是链接强关,则跳转
         //如果是链接强关,则跳转
         $sub_type = $this->getSubscribeType($officialAccount->appid, $this->book_info->bid);
         $sub_type = $this->getSubscribeType($officialAccount->appid, $this->book_info->bid);