Kaynağa Gözat

templte compare 10 v2

zz 6 yıl önce
ebeveyn
işleme
754f0350f2

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

@@ -1311,7 +1311,8 @@ class ChapterController extends BaseController
 
         if($template_10_no_abtest_site &&
             in_array($this->distribution_channel_id,explode(',',$template_10_no_abtest_site))  &&
-            DataAnalysisSelectUserService::getByUidAndType($this->uid, 'TEMPLATE_COMPAREV10_2')
+            ($info = DataAnalysisSelectUserService::getByUidAndType($this->uid, 'TEMPLATE_COMPAREV10_2')) &&
+            $info->attach
         ){
             if($fee <37) $fee = 37;
             if($fee >45) $fee = 45;