diff --git a/Application/Sdk/Controller/ExchangeController.class.php b/Application/Sdk/Controller/ExchangeController.class.php index 7695c5f4..446f1fdb 100644 --- a/Application/Sdk/Controller/ExchangeController.class.php +++ b/Application/Sdk/Controller/ExchangeController.class.php @@ -187,7 +187,7 @@ class ExchangeController extends BaseController{ file_put_contents("./Application/Sdk/Scheme/".$request['game_id'].".txt",$request['scheme']); - if(get_game_appstatus2($request['game_id'])){ /* 第三方支付 */ + if(get_game_appstatus2($request['game_id'])&&$request['is_create_ordernumer']!=1){ /* 第三方支付 */ $prefix = $request['code'] == 1 ? "SP_" : "PF_"; // SP $out_trade_no = $prefix.date('Ymd').date('His').sp_random_string(4); $request['pay_order_number'] = $out_trade_no;