修改参数注解

This commit is contained in:
teririsaigao 2024-06-19 16:13:46 +08:00
parent eed1b0f98b
commit 12757da62a
1 changed files with 1 additions and 1 deletions

View File

@ -83,7 +83,7 @@ public class AuthController {
@ApiOperation(value = "验证邮箱")
@PostMapping("/verify-email")
public R<String> emailVerify(String email, String code) {
public R<String> emailVerify(@RequestParam("email") String email, @RequestParam("code") String code) {
return emailService.verifyEmail(email, code);
}