微信支付回调
This commit is contained in:
parent
931545c1d5
commit
2318190e42
|
|
@ -246,13 +246,13 @@
|
||||||
"outTradeNo":"12344324242342342342554",
|
"outTradeNo":"12344324242342342342554",
|
||||||
"totalFee":[[${trainCourse.price*100}]],
|
"totalFee":[[${trainCourse.price*100}]],
|
||||||
"spbillCreateIp":"1.80.82.241",
|
"spbillCreateIp":"1.80.82.241",
|
||||||
"notifyUrl":"http://ceshi4.yqhl.cc/api/v1/notify/order",
|
"notifyUrl":"http://ceshi4.yqhl.cc/api/v1/wx/pay/notify/order",
|
||||||
"tradeType":"NATIVE",
|
"tradeType":"NATIVE",
|
||||||
"productId":"[[${trainCourse.id}]]"
|
"productId":"[[${trainCourse.id}]]"
|
||||||
};
|
};
|
||||||
$.ajax({
|
$.ajax({
|
||||||
type: 'post',
|
type: 'post',
|
||||||
url: "/wx/pay/createOrder",
|
url: "/api/vi/wx/pay/createOrder",
|
||||||
contentType: "application/json",
|
contentType: "application/json",
|
||||||
dataType : 'json',
|
dataType : 'json',
|
||||||
data:JSON.stringify(data),
|
data:JSON.stringify(data),
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue