第一版 支付微信

This commit is contained in:
2024-05-24 13:56:13 +08:00
parent b5264dc222
commit 8b74fc1611
98 changed files with 11892 additions and 11711 deletions

View File

@@ -126,7 +126,7 @@ export const setPay = function(payInfo, callback) {
console.log('success:' + JSON.stringify(res));
},
fail: function(err) {
callback && callback({
success: false,
data: err
@@ -265,6 +265,12 @@ export const checkBookRight = function(data, callback) {
// 单独微信支付
export const setWXPay = function(payInfo, callback) {
console.log('都走这个接口', payInfo)
// payInfo = {
// "orderSn": "20240524123456789101112131415167",
// "buyOrderId": 15,
// "totalAmount": "38"
// }
$http.request({
url: "pay/placeAnOrder/shoppingPay",
method: "POST", // POST、GET、PUT、DELETE具体说明查看官方文档