确认收货改造

This commit is contained in:
geng.tang@qq.com
2024-01-02 21:41:41 +08:00
parent e12bdecc5a
commit ebd22b0eee
9 changed files with 267 additions and 96 deletions

View File

@@ -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)
}

View File

@@ -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)
}
// 核销二维码