This commit is contained in:
qq
2026-04-22 14:45:05 +08:00
parent 01cbdcd695
commit d8ceb298aa
10 changed files with 59 additions and 54 deletions
+1 -7
View File
@@ -13,13 +13,7 @@ export declare class CaptchaService {
width?: number;
height?: number;
fontSize?: number;
inverse?: boolean;
}): Promise<CaptchaResult>;
generateMath(options?: {
noise?: number;
width?: number;
height?: number;
fontSize?: number;
color?: string;
}): Promise<CaptchaResult>;
validate(key: string, code: string): Promise<boolean>;
}