Browse Source

sub debug

zz 6 năm trước cách đây
mục cha
commit
66409da068
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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'];