微信支付回调

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", "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),