|
|
@ -1300,7 +1300,7 @@ class PromoteCompanyController extends ThinkController
|
|
|
|
if($is_export){
|
|
|
|
if($is_export){
|
|
|
|
$CpRadio = $this->getPromoteCompanyCpRadio($game_ids);
|
|
|
|
$CpRadio = $this->getPromoteCompanyCpRadio($game_ids);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
// dd($CpRadio);
|
|
|
|
$endtime = time();
|
|
|
|
$endtime = time();
|
|
|
|
$rwhere = "(end_time = 0 OR end_time >= '{$endtime}') and company_id='{$company_id}' and relation_game_id in ({$game_ids})";
|
|
|
|
$rwhere = "(end_time = 0 OR end_time >= '{$endtime}') and company_id='{$company_id}' and relation_game_id in ({$game_ids})";
|
|
|
|
$cgr_res = M("CompanyGameRatio","tab_")->where($rwhere)->select();
|
|
|
|
$cgr_res = M("CompanyGameRatio","tab_")->where($rwhere)->select();
|
|
|
@ -1334,7 +1334,6 @@ class PromoteCompanyController extends ThinkController
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
if(empty($game_arr)){
|
|
|
|
if(empty($game_arr)){
|
|
|
|
return $senddata;
|
|
|
|
return $senddata;
|
|
|
|
}
|
|
|
|
}
|
|
|
|