mirror of
https://github.com/continew-org/continew-admin-ui.git
synced 2025-11-07 02:57:11 +08:00
chore: 优化部分代码
This commit is contained in:
@@ -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 获取短信验证码 */
|
||||
|
||||
@@ -2,6 +2,7 @@
|
||||
export interface ImageCaptchaResp {
|
||||
uuid: string
|
||||
img: string
|
||||
expireTime: number
|
||||
}
|
||||
|
||||
/** 仪表盘访问趋势类型 */
|
||||
|
||||
Reference in New Issue
Block a user