master
elf 8 months ago
parent 33a3179405
commit 1eb82b6d9c

@ -47,6 +47,10 @@ class GameApi {
$pay_data['cost'] = number_format($pay_data['cost'], 2, '.', ''); $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']); $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( $data = array(
"out_trade_no" => $pay_data['pay_order_number'], "out_trade_no" => $pay_data['pay_order_number'],
"price" => $pay_data['cost'], "price" => $pay_data['cost'],

Loading…
Cancel
Save