🎨 updated comment code framework / add comment verification
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
import {service} from "@/utils/alova/service.ts";
|
||||
|
||||
/**
|
||||
* 获取验证码图片数据
|
||||
* 获取旋转验证码图片数据
|
||||
*/
|
||||
export const getRotatedCaptchaData = () => {
|
||||
return service.Get('/api/captcha/rotate/get', {
|
||||
@@ -29,3 +29,14 @@ export const checkRotatedCaptcha = (angle: any, key: any) => {
|
||||
);
|
||||
|
||||
};
|
||||
/**
|
||||
* 获取滑动验证码图片数据
|
||||
*/
|
||||
export const getSlideCaptchaDataApi = () => {
|
||||
return service.Get('/api/captcha/slide/generate', {
|
||||
meta: {
|
||||
ignoreToken: false
|
||||
},
|
||||
});
|
||||
|
||||
};
|
||||
|
Reference in New Issue
Block a user