|
@@ -243,6 +243,10 @@ class OrdersController extends BaseController
|
|
if( ($comparev2_id = $this->templateCompareV2()) ){
|
|
if( ($comparev2_id = $this->templateCompareV2()) ){
|
|
$template_id = $comparev2_id;
|
|
$template_id = $comparev2_id;
|
|
}
|
|
}
|
|
|
|
+ $template_10_site = redisEnv('TEMPLATE_10_NO_AB_TEST_SITE','');
|
|
|
|
+ if($template_10_site && in_array($this->distribution_channel_id,explode(',',$template_10_site)) ){
|
|
|
|
+ $template_id = 10;
|
|
|
|
+ }
|
|
$outstandingYearOrder = $this->outstandingYearOrder($this->uid);
|
|
$outstandingYearOrder = $this->outstandingYearOrder($this->uid);
|
|
\Log::info('recordFirstIntoPayPage:$template_id:' . $template_id);
|
|
\Log::info('recordFirstIntoPayPage:$template_id:' . $template_id);
|
|
$res = ProductService::getChargeProduct($template_id);
|
|
$res = ProductService::getChargeProduct($template_id);
|
|
@@ -724,8 +728,16 @@ class OrdersController extends BaseController
|
|
$this->distribution_channel_id,
|
|
$this->distribution_channel_id,
|
|
'TEMPLATE_COMPAREV10',
|
|
'TEMPLATE_COMPAREV10',
|
|
-1, 10);
|
|
-1, 10);
|
|
|
|
+ return 10;
|
|
|
|
+ }else{
|
|
|
|
+ DataAnalysisSelectUserService::create(
|
|
|
|
+ $this->uid,
|
|
|
|
+ $this->distribution_channel_id,
|
|
|
|
+ 'TEMPLATE_COMPAREV10',
|
|
|
|
+ -1, 0);
|
|
|
|
+ return 0;
|
|
}
|
|
}
|
|
- return 10;
|
|
|
|
|
|
+
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
|