确认收货发短信接口改名

This commit is contained in:
geng.tang@qq.com
2024-01-02 21:45:36 +08:00
parent ebd22b0eee
commit c6f3f47a80
2 changed files with 4 additions and 5 deletions

View File

@@ -3,7 +3,7 @@ import request from '@/utils/request'
// api地址
const api = {
image: 'captcha/image',
sendSmsCode: '/sendSmsCaptcha'
sendSmsCaptcha: '/sendSmsCaptcha'
}
// 图形验证码
@@ -12,6 +12,6 @@ export function image() {
}
// 发送短信验证码
export const sendSmsCode = (data) => {
return request.post(api.sendSmsCode, data)
export const sendSmsCaptcha = (data) => {
return request.post(api.sendSmsCaptcha, data)
}