|
@@ -793,35 +793,35 @@ class OrdersController extends BaseController
|
|
|
|
|
|
private function outstandingYearOrder($uid)
|
|
|
{
|
|
|
- if (!in_array($this->distribution_channel_id, explode(',', env('OUTSTANDING_YEAR_ORDER_SITE')))) {
|
|
|
+ /*if (!in_array($this->distribution_channel_id, explode(',', env('OUTSTANDING_YEAR_ORDER_SITE')))) {
|
|
|
return false;
|
|
|
- }
|
|
|
+ }*/
|
|
|
|
|
|
//$userDivisionProperty = UserDivisionPropertyService::getUserProperty($uid);
|
|
|
$userDivisionProperty = UserDivisionCpcPropertyService::getUserProperty($uid);
|
|
|
if (!$userDivisionProperty) return false;
|
|
|
|
|
|
- if ($userDivisionProperty != 'high') return false;
|
|
|
+ //if ($userDivisionProperty != 'high') return false;
|
|
|
|
|
|
- if ($uid % 2 == 0) {
|
|
|
+ /*if ($uid % 2 == 0) {
|
|
|
$is_show_outstanding_year_order = true;
|
|
|
$template_id = 1;
|
|
|
} else {
|
|
|
$is_show_outstanding_year_order = false;
|
|
|
$template_id = 2;
|
|
|
- }
|
|
|
+ }*/
|
|
|
|
|
|
$exist = DataAnalysisSelectUserService::getByUidAndType($uid, 'OUTSTANDING_YEAR_ORDER_V2');
|
|
|
- if($exist) return $is_show_outstanding_year_order;
|
|
|
-
|
|
|
+ if($exist) return true;
|
|
|
|
|
|
+ return false;
|
|
|
|
|
|
- DataAnalysisSelectUserService::create(
|
|
|
+ /*DataAnalysisSelectUserService::create(
|
|
|
$uid,
|
|
|
$this->distribution_channel_id,
|
|
|
'OUTSTANDING_YEAR_ORDER_V2',
|
|
|
-1, $template_id);
|
|
|
- return $is_show_outstanding_year_order;
|
|
|
+ return $is_show_outstanding_year_order;*/
|
|
|
}
|
|
|
|
|
|
public function exchangeList(){
|