Merge branch 'feature/add_item_other' of wmtx/platform into master

比例方法提交
master
廖金灵 4 years ago committed by Gogs
commit 19e64984fd

@ -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