add api validation signature

This commit is contained in:
landaiqing
2024-09-28 00:21:30 +08:00
parent d6741aaa6f
commit f358e0d26a
8 changed files with 122 additions and 130 deletions

View File

@@ -9,25 +9,6 @@ export const getRotatedCaptchaData = () => {
ignoreToken: true
},
});
};
/**
* 验证验证码
* @param angle
* @param key
*/
export const checkRotatedCaptcha = (angle: any, key: any) => {
return service.Post('/api/captcha/rotate/check', {
angle: angle,
key: key,
},
{
meta: {
ignoreToken: true
},
}
);
};
/**
* 获取滑动验证码图片数据