acdr/acdr-admin/yskj-ui/yskj-ui-mall-uniapp/sheep/api/pay/order.js

23 lines
394 B
JavaScript
Raw Normal View History

2024-09-05 14:05:15 +08:00
import request from '@/sheep/request';
const PayOrderApi = {
// 获得支付订单
getOrder: (id) => {
return request({
url: '/pay/order/get',
method: 'GET',
params: { id }
});
},
// 提交支付订单
submitOrder: (data) => {
return request({
url: '/pay/order/submit',
method: 'POST',
data
});
}
};
export default PayOrderApi;