比例方法提交

master
zhengyongxing 4 years ago
parent 483d70d77d
commit b3658dfaa9

@ -24,12 +24,12 @@ class CompanyGameRatioModel extends Model
for ($i=0; $i < count($tmp_g); $i++) { for ($i=0; $i < count($tmp_g); $i++) {
$game_id = $tmp_g[$i]; $game_id = $tmp_g[$i];
if ($is_inside){ if ($is_inside){
$game_ratio[$game_id] = [ $game_ratio[$game_id] = [[
"begintime" => $begintime, "begintime" => $begintime,
"endtime"=>$endtime, "endtime"=>$endtime,
"ratio"=>0, "ratio"=>0,
"turnover_ratio"=>'' "turnover_ratio"=>''
]; ]];
}else{ }else{
$game_ratio[$game_id] = $this->getGameRadio($company_id,$game_id,$company_belong,$begintime,$endtime); $game_ratio[$game_id] = $this->getGameRadio($company_id,$game_id,$company_belong,$begintime,$endtime);
} }

Loading…
Cancel
Save