|
|
|
@ -810,9 +810,9 @@ class TimingController extends AdminController {
|
|
|
|
|
}
|
|
|
|
|
//
|
|
|
|
|
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']:0;
|
|
|
|
|
$return[$value['company_id']."-".$sval['promote_id']."-".$v['relation_game_id']] = !$is_inside?($v['sum_money']-($v['withhold']?$v['withhold']:0)):0;
|
|
|
|
|
} else {
|
|
|
|
|
$return[$value['company_id']."-".$sval['promote_id']."-".$v['relation_game_id']] += !$is_inside?$v['sum_money']:0;
|
|
|
|
|
$return[$value['company_id']."-".$sval['promote_id']."-".$v['relation_game_id']] += !$is_inside?($v['sum_money']-($v['withhold']?$v['withhold']:0)):0;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|