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.
yanzong_qianduan/api/groupon/checkout.js

18 lines
401 B

11 months ago
import request from '@/utils/request'
// api地址
const api = {
order: 'groupon.checkout/order',
submit: 'groupon.checkout/submit'
}
// 结算台订单信息
export const order = (mode, param) => {
return request.get(api.order, { mode, ...param })
}
// 结算台订单提交
export const submit = (mode, data) => {
return request.post(api.submit, { mode, ...data }, { isPrompt: false })
}