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/sharp/checkout.js

18 lines
397 B

11 months ago
import request from '@/utils/request'
// api地址
const api = {
order: 'sharp.checkout/order',
submit: 'sharp.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 })
}