|
|
|
@ -47,6 +47,10 @@ class GameApi {
|
|
|
|
|
$pay_data['cost'] = number_format($pay_data['cost'], 2, '.', '');
|
|
|
|
|
$md5_sign = md5($pay_data['pay_order_number'].$pay_data['cost']."1".$pay_data['extend'].$game_data['game_key']);
|
|
|
|
|
|
|
|
|
|
if (false && in_array($pay_data['game_id'], [7, 8, 9, 10, 11, 12, 13, 14]) && $pay_data['pay_way'] == 41) {
|
|
|
|
|
$game_data['pay_notify_url'] = 'http://119.45.181.187/pay/wmtxxbdhd3_callback.php';
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
$data = array(
|
|
|
|
|
"out_trade_no" => $pay_data['pay_order_number'],
|
|
|
|
|
"price" => $pay_data['cost'],
|
|
|
|
|