|
|
|
@ -46,7 +46,7 @@ class CompanyGameRatioModel extends Model
|
|
|
|
|
foreach($company_belong_game as $key => $value) {
|
|
|
|
|
|
|
|
|
|
if ($value['begin_time'] > $company_begin_time) {
|
|
|
|
|
$game_ratio[$game_id] = array_merge($game_ratio[$game_id],$this->getGameRadio($company_id,$game_id,$company_belong,$company_begin_time,$value['begin_time']));
|
|
|
|
|
$game_ratio[$game_id] = array_merge($game_ratio[$game_id],$this->getGameRadio($company_id,$game_id,$company_belong,$company_begin_time,$value['begin_time']-1));
|
|
|
|
|
|
|
|
|
|
if ($value['end_time'] >= $company_end_time || !$value['end_time']) {
|
|
|
|
|
// $game_ratio[$game_id] = array_merge($game_ratio[$game_id],[[
|
|
|
|
|