!1 修复后台验证码获取接口地址

Merge pull request !1 from scmiot/master
This commit is contained in:
疯狂的狮子Li 2023-03-21 10:36:08 +00:00 committed by Gitee
commit 4a5ba86e38
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -49,6 +49,18 @@ export function logout() {
// 获取验证码
export function getCodeImg() {
return request({
url: '/code',
headers: {
isToken: false
},
method: 'get',
timeout: 20000
})
}
// 短信验证码
export function getCodeSms() {
return request({
url: '/sms/code',
headers: {