后端加入Redis、旋转图片验证接口

This commit is contained in:
2024-08-30 21:34:24 +08:00
parent 41b7a38669
commit e9a8ad6717
14 changed files with 545 additions and 2 deletions

View File

@@ -29,6 +29,20 @@ const ServerStdResponse = {
message: 'Blog not found'
}
},
CAPTCHA: {
NOTFOUND: {
code: -5000,
message: 'captcha session not found'
},
MAX_TRY_COUNT: {
code: -5001,
message: 'captcha session try max count'
},
NOTRIGHT: {
code: -5002,
message: 'captcha is not right, please try again'
}
}
} as const;
export default ServerStdResponse;