import { http } from "@/utils/http"; import { BaseResponse } from "@/api/base"; export type ImageCaptchaResult = { /** 验证码id */ id: string; /** 验证码图片 */ img: string; }; /** 获取验证码图片 */ export const getImgCaptcha = () => { return http.request>( "get", "/admin/v1/captcha/img" ); };