chore: 优化部分代码

This commit is contained in:
2024-04-29 22:18:39 +08:00
parent c0a5c2dffe
commit 70510894ef
9 changed files with 23 additions and 15 deletions

View File

@@ -5,7 +5,7 @@ const BASE_URL = '/captcha'
/** @desc 获取图片验证码 */
export function getImageCaptcha() {
return http.get<Common.ImageCaptchaResp>(`${BASE_URL}/img`)
return http.get<Common.ImageCaptchaResp>(`${BASE_URL}/image`)
}
/** @desc 获取短信验证码 */

View File

@@ -2,6 +2,7 @@
export interface ImageCaptchaResp {
uuid: string
img: string
expireTime: number
}
/** 仪表盘访问趋势类型 */