确认收货改造
This commit is contained in:
@@ -3,7 +3,7 @@ import request from '@/utils/request'
|
||||
// api地址
|
||||
const api = {
|
||||
image: 'captcha/image',
|
||||
sendSmsCaptcha: 'captcha/sendSmsCaptcha'
|
||||
sendSmsCode: '/sendSmsCaptcha'
|
||||
}
|
||||
|
||||
// 图形验证码
|
||||
@@ -12,6 +12,6 @@ export function image() {
|
||||
}
|
||||
|
||||
// 发送短信验证码
|
||||
export function sendSmsCaptcha(data) {
|
||||
return request.post(api.sendSmsCaptcha, data, { load: false })
|
||||
}
|
||||
export const sendSmsCode = (data) => {
|
||||
return request.post(api.sendSmsCode, data)
|
||||
}
|
||||
@@ -38,8 +38,8 @@ export function cancel(orderId, data) {
|
||||
}
|
||||
|
||||
// 确认收货
|
||||
export function receipt(orderId, data) {
|
||||
return request.post(api.receipt, { orderId, ...data })
|
||||
export function receipt(data) {
|
||||
return request.post(api.receipt, data)
|
||||
}
|
||||
|
||||
// 核销二维码
|
||||
|
||||
Reference in New Issue
Block a user