This commit is contained in:
mashuai 2024-05-31 11:19:06 +08:00
parent 32b80e0d6c
commit 4c83705ab1
1 changed files with 1 additions and 1 deletions

View File

@ -87,7 +87,7 @@ public class TokenController {
return R.ok(tokenService.createToken(userInfo)); return R.ok(tokenService.createToken(userInfo));
} }
@PostMapping("sendCode") //@PostMapping("sendCode")
public R<?> sendCode(@RequestBody LoginBody form) { public R<?> sendCode(@RequestBody LoginBody form) {
String uuid = form.getUuid(); String uuid = form.getUuid();
String captcha = redisService.getCacheObject(CacheConstants.CAPTCHA_CODE_KEY + uuid).toString(); String captcha = redisService.getCacheObject(CacheConstants.CAPTCHA_CODE_KEY + uuid).toString();