add 增加 获取短信验证码接口

This commit is contained in:
疯狂的狮子li
2022-05-06 18:08:16 +08:00
parent 416088a2de
commit 71e392c1f9
5 changed files with 51 additions and 4 deletions

View File

@ -57,3 +57,15 @@ export function getCodeImg() {
timeout: 20000
})
}
// 短信验证码
export function getCodeSms() {
return request({
url: '/captchaSms',
headers: {
isToken: false
},
method: 'get',
timeout: 20000
})
}