diff --git a/Application/Callback/Controller/BaseController.class.php b/Application/Callback/Controller/BaseController.class.php index e11bf0d6..05591365 100644 --- a/Application/Callback/Controller/BaseController.class.php +++ b/Application/Callback/Controller/BaseController.class.php @@ -81,21 +81,21 @@ class BaseController extends Controller { $this->record_logs($mbalance."平台币余额不足--》用户充值支付宝不支付 然后重新发起一笔订单支付 在回到支付宝找未支付订单支付 这种情况 加到平台币".$balance); $depositId = M('deposit',"tab_")->add([ - 'order_number' => $data['trade_no'], - 'pay_order_number' => 'PF_'.$data['out_trade_no'], - 'user_id' => $d['user_id'], - 'user_account' => $d['user_account'], - 'promote_id' => $d['promote_id'], - 'promote_account' => $d['promote_account'], - 'pay_amount' => $d['pay_amount'], - 'pay_status' => 1, - 'pay_way' => $d['pay_way'], - 'pay_source' => 2, // 0官网 1推广后台 2移动端 - 'pay_ip' => $d['spend_ip'], - 'create_time' => time(), - 'sdk_version' => $d['sdk_version'], - 'check_sign' => get_check_sign($d['user_id'],$data['trade_no'],$d['pay_amount'],$d['create_time']), - ]); + 'order_number' => $data['trade_no'], + 'pay_order_number' => 'PF_'.$data['out_trade_no'], + 'user_id' => $d['user_id'], + 'user_account' => $d['user_account'], + 'promote_id' => $d['promote_id'], + 'promote_account' => $d['promote_account'], + 'pay_amount' => $d['pay_amount'], + 'pay_status' => 1, + 'pay_way' => $d['pay_way'], + 'pay_source' => 2, // 0官网 1推广后台 2移动端 + 'pay_ip' => $d['spend_ip'], + 'create_time' => time(), + 'sdk_version' => $d['sdk_version'], + 'check_sign' => get_check_sign($d['user_id'],$data['trade_no'],$d['pay_amount'],$d['create_time']), + ]); $user = M("user","tab_"); $user->where("id=".$d['user_id'])->setInc("balance", $d['pay_amount']); $user->where("id=".$d['user_id'])->setInc("cumulative", $d['pay_amount']); @@ -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"];