确认收货发短信接口改名
This commit is contained in:
@@ -3,7 +3,7 @@ import request from '@/utils/request'
|
|||||||
// api地址
|
// api地址
|
||||||
const api = {
|
const api = {
|
||||||
image: 'captcha/image',
|
image: 'captcha/image',
|
||||||
sendSmsCode: '/sendSmsCaptcha'
|
sendSmsCaptcha: '/sendSmsCaptcha'
|
||||||
}
|
}
|
||||||
|
|
||||||
// 图形验证码
|
// 图形验证码
|
||||||
@@ -12,6 +12,6 @@ export function image() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// 发送短信验证码
|
// 发送短信验证码
|
||||||
export const sendSmsCode = (data) => {
|
export const sendSmsCaptcha = (data) => {
|
||||||
return request.post(api.sendSmsCode, data)
|
return request.post(api.sendSmsCaptcha, data)
|
||||||
}
|
}
|
||||||
@@ -73,7 +73,7 @@
|
|||||||
receipt,
|
receipt,
|
||||||
getOrder
|
getOrder
|
||||||
} from '@/websoft/api/order.js'
|
} from '@/websoft/api/order.js'
|
||||||
import { sendSmsCode } from '@/api/captcha.js'
|
import { sendSmsCaptcha } from '@/api/captcha.js'
|
||||||
import { fileUrl } from '@/config.js'
|
import { fileUrl } from '@/config.js'
|
||||||
import { isMobile } from '@/utils/verify'
|
import { isMobile } from '@/utils/verify'
|
||||||
|
|
||||||
@@ -181,7 +181,6 @@
|
|||||||
})
|
})
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
console.log('that====: ');
|
|
||||||
sendSmsCaptcha({
|
sendSmsCaptcha({
|
||||||
phone: that.receiptPhone,
|
phone: that.receiptPhone,
|
||||||
type: 'RECEIPT'
|
type: 'RECEIPT'
|
||||||
|
|||||||
Reference in New Issue
Block a user