|
|
@ -58,6 +58,9 @@ class GameApi {
|
|
|
|
"signType" => "MD5",
|
|
|
|
"signType" => "MD5",
|
|
|
|
"sign" => $md5_sign
|
|
|
|
"sign" => $md5_sign
|
|
|
|
);
|
|
|
|
);
|
|
|
|
|
|
|
|
if (in_array($pay_data['game_id'], [4, 5])) {
|
|
|
|
|
|
|
|
$data['pay_way'] = $pay_data['pay_way'];
|
|
|
|
|
|
|
|
}
|
|
|
|
$result = $this->post($data,$game_data['pay_notify_url']);
|
|
|
|
$result = $this->post($data,$game_data['pay_notify_url']);
|
|
|
|
if($result == "success"){
|
|
|
|
if($result == "success"){
|
|
|
|
$this->update_game_pay_status($pay_data['pay_order_number'],$code,$is_uc);
|
|
|
|
$this->update_game_pay_status($pay_data['pay_order_number'],$code,$is_uc);
|
|
|
|