✨ update cache expired time
This commit is contained in:
@@ -1,5 +1,8 @@
|
||||
import {service} from "@/utils/alova/service.ts";
|
||||
|
||||
/**
|
||||
* 获取验证码图片数据
|
||||
*/
|
||||
export const getRotatedCaptchaData = () => {
|
||||
return service.Get('/api/captcha/rotate/get', {
|
||||
meta: {
|
||||
@@ -8,6 +11,11 @@ export const getRotatedCaptchaData = () => {
|
||||
});
|
||||
|
||||
};
|
||||
/**
|
||||
* 验证验证码
|
||||
* @param angle
|
||||
* @param key
|
||||
*/
|
||||
export const checkRotatedCaptcha = (angle: any, key: any) => {
|
||||
return service.Post('/api/captcha/rotate/check', {
|
||||
angle: angle,
|
||||
|
Reference in New Issue
Block a user