You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
23 lines
394 B
23 lines
394 B
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;
|