mirror of
https://gitee.com/JavaLionLi/plus-ui.git
synced 2025-10-15 06:10:29 +00:00
@@ -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: {
|
||||
|
Reference in New Issue
Block a user