mall-uniapp/sheep/api/pay/order.js

23 lines
410 B
JavaScript
Raw Normal View History

2023-12-11 16:03:07 +00:00
import request from '@/sheep/request';
const PayOrderApi = {
// 获得支付订单
getOrder: (id) => {
return request({
url: '/app-api/pay/order/get',
method: 'GET',
params: { id }
});
},
// 提交支付订单
submitOrder: (data) => {
return request({
url: '/app-api/pay/order/submit',
method: 'POST',
data
});
}
2023-12-11 16:03:07 +00:00
};
export default PayOrderApi;