��败，原因：' + result.msg)
                    return;
                }
                shopOrderId = result.data.id;
                payOrderId = result.data.payOrderId;
                console.log("商城订单：" + shopOrderId)
                console.log("支付订单：" + payOrderId)
            }
        })
    });
    // 支付宝扫码支付
    $( "#alipay_wap").on( "click", function() {
        // 提交支付
        $.ajax({
            url: server + "/app-api/pay/order/submit",
       