xinelu-applet-ui/api/pagesB/confirmOrder/index.js

25 lines
564 B
JavaScript
Raw Normal View History

2023-09-22 11:37:39 +08:00
import request from "../../request.js"
2023-09-22 11:08:14 +08:00
//确认支付
export function addStationGoodsOrder(data) {
return request({
url: `/nurseApplet/nursingStationGoods/addStationGoodsOrder`,
method: 'post',
2023-10-13 17:32:38 +08:00
data,
header: {
Authorization: 'Bearer' + ' ' + uni.getStorageSync('token')
},
2023-09-22 11:08:14 +08:00
})
}
//小程序购买商品订单支付接口
export function appletGoodsOrderPay(data) {
return request({
url: `/nurseApp/weChatPayment/appletGoodsOrderPay`,
method: 'post',
2023-10-13 17:32:38 +08:00
data,
header: {
Authorization: 'Bearer' + ' ' + uni.getStorageSync('token')
},
2023-09-22 11:08:14 +08:00
})
}