apple 内购

master
tpingzhang 5 years ago
parent 0ad58705d0
commit a565d5470a

@ -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;

Loading…
Cancel
Save