微信支付回调

This commit is contained in:
zhujj 2019-01-25 14:14:31 +08:00
parent 931545c1d5
commit 2318190e42
1 changed files with 2 additions and 2 deletions

View File

@ -246,13 +246,13 @@
"outTradeNo":"12344324242342342342554",
"totalFee":[[${trainCourse.price*100}]],
"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",
"productId":"[[${trainCourse.id}]]"
};
$.ajax({
type: 'post',
url: "/wx/pay/createOrder",
url: "/api/vi/wx/pay/createOrder",
contentType: "application/json",
dataType : 'json',
data:JSON.stringify(data),