training queue

This commit is contained in:
archer
2023-05-26 23:08:25 +08:00
parent 69f32a0861
commit dc1c1d1355
32 changed files with 528 additions and 493 deletions

View File

@@ -26,7 +26,7 @@ export const authGoogleToken = async (data: {
const res = await axios.post<{ score?: number }>(
`https://www.recaptcha.net/recaptcha/api/siteverify?${Obj2Query(data)}`
);
if (res.data.score && res.data.score >= 0.9) {
if (res.data.score && res.data.score >= 0.5) {
return Promise.resolve('');
}
return Promise.reject('非法环境');