本文实例为大家分享了前端微信支付js代码,供大家参考,具体内容如下
$('.Save_Patient_Msg').click(function(){
$('.Save_Patient_Msg').off('click');
var hrdfId = getOrderId();
var txnAmt = $('.sum_pay.font-red').html();
var data = {orderId: hrdfId, txnAmt: "0.01",
prodDesc: "远程诊断服务", callType: "JSAPI",
access_token: getUrlParam
1