修复后台验证码获取接口地址,源地址为短信验证码接口。
Signed-off-by: scmiot <scmiot@qq.com>
This commit is contained in:
parent
8fec6cc405
commit
eec0fd43a3
@ -49,6 +49,18 @@ export function logout() {
|
|||||||
|
|
||||||
// 获取验证码
|
// 获取验证码
|
||||||
export function getCodeImg() {
|
export function getCodeImg() {
|
||||||
|
return request({
|
||||||
|
url: '/code',
|
||||||
|
headers: {
|
||||||
|
isToken: false
|
||||||
|
},
|
||||||
|
method: 'get',
|
||||||
|
timeout: 20000
|
||||||
|
})
|
||||||
|
}
|
||||||
|
|
||||||
|
// 短信验证码
|
||||||
|
export function getCodeSms() {
|
||||||
return request({
|
return request({
|
||||||
url: '/sms/code',
|
url: '/sms/code',
|
||||||
headers: {
|
headers: {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user