|
|
@ -649,7 +649,7 @@ class TimingController extends AdminController {
|
|
|
|
continue;
|
|
|
|
continue;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
//
|
|
|
|
//
|
|
|
|
if (isset($return[$value['company_id']."-".$sval['promote_id']."-".$v['relation_game_id']])) {
|
|
|
|
if (!isset($return[$value['company_id']."-".$sval['promote_id']."-".$v['relation_game_id']])) {
|
|
|
|
$return[$value['company_id']."-".$sval['promote_id']."-".$v['relation_game_id']] = !$is_inside?($v['sum_money']-($v['withhold']?$v['withhold']:0)):0;
|
|
|
|
$return[$value['company_id']."-".$sval['promote_id']."-".$v['relation_game_id']] = !$is_inside?($v['sum_money']-($v['withhold']?$v['withhold']:0)):0;
|
|
|
|
} else {
|
|
|
|
} else {
|
|
|
|
$return[$value['company_id']."-".$sval['promote_id']."-".$v['relation_game_id']] += !$is_inside?($v['sum_money']-($v['withhold']?$v['withhold']:0)):0;
|
|
|
|
$return[$value['company_id']."-".$sval['promote_id']."-".$v['relation_game_id']] += !$is_inside?($v['sum_money']-($v['withhold']?$v['withhold']:0)):0;
|
|
|
|