优先扣除

master
tpingzhang 5 years ago
parent 23dabfe0c2
commit 0443d70a24

@ -116,6 +116,7 @@ class BaseController extends Controller {
$request['price'] = $bind_balance;
$request['deduction_amount'] = 0;
$request['pay_status'] = 1;
$request["title"] = $d['props_name'];
if ($d['deduction_amount'] > $bind_balance)
$bb = 0;
@ -611,6 +612,7 @@ class BaseController extends Controller {
$data_spned['selle_ratio'] = get_game_selle_ratio($param["game_id"]);
$data_spned['server_id'] = $param["server_id"];
$data_spned['server_name'] = $param["server_name"];
$data_spned['game_player_id'] = $param["game_player_id"];
$data_spned['game_player_name'] = $param["game_player_name"];
$data_spned['promote_id'] = $user_entity["promote_id"];
$data_spned['promote_account'] = $user_entity["promote_account"];

Loading…
Cancel
Save