优化删除游戏报错bug

master
chenzhi 4 years ago
parent 1f1aea5b1d
commit c40e366a03

@ -1375,10 +1375,10 @@ class PromoteCompanyController extends ThinkController
if(empty($game_arr)){
return $senddata;
}
foreach($game_arr as $k=>$v){
if(empty($game[$k])) continue;
$senddata[$k]= ["turnover_ratio"=>[["name"=>"--","ratio"=>"--"]],"ratio"=>0,"relation_game_id"=>$k,"cp_ratio"=>[["name"=>"--","ratio"=>"--"]],"row"=>1];
$senddata[$k]+= $game[$k];;
$senddata[$k] += $game[$k];
}
return $senddata;
}

Loading…
Cancel
Save