Browse Source

sub debug

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

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

@@ -1092,7 +1092,7 @@ class ChapterController extends BaseController
         if($this->send_order_id &&
             in_array($this->distribution_channel_id,explode(',',env('INNER_CHANNEL_SUB','1'))) &&
             ($send_order_info = SendOrderService::getById($this->send_order_id)) &&
-            $send_order_info->spromotion_type == 'EXTERNAL'
+            $send_order_info->promotion_type == 'EXTERNAL'
         ){
             $subscribe_info = ForceSubscribeUserIService::subscribes($this->uid,$this->distribution_channel_id,$this->send_order_id);
             $this->need_subscribe_appid = $subscribe_info['appid'];