Revert "bug"

This reverts commit 4c83705ab1.
This commit is contained in:
mashuai 2024-05-31 11:22:35 +08:00
parent 4c83705ab1
commit c350486773
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();