From 12757da62af3df9c89356de211f805f1b831bc88 Mon Sep 17 00:00:00 2001 From: teririsaigao <154579659+teririsaigao@users.noreply.github.com> Date: Wed, 19 Jun 2024 16:13:46 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E5=8F=82=E6=95=B0=E6=B3=A8?= =?UTF-8?q?=E8=A7=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../com/example/catchTheLetters/controller/AuthController.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/com/example/catchTheLetters/controller/AuthController.java b/src/main/java/com/example/catchTheLetters/controller/AuthController.java index c7dbb22..c512a3a 100644 --- a/src/main/java/com/example/catchTheLetters/controller/AuthController.java +++ b/src/main/java/com/example/catchTheLetters/controller/AuthController.java @@ -83,7 +83,7 @@ public class AuthController { @ApiOperation(value = "验证邮箱") @PostMapping("/verify-email") - public R emailVerify(String email, String code) { + public R emailVerify(@RequestParam("email") String email, @RequestParam("code") String code) { return emailService.verifyEmail(email, code); }