Merge remote-tracking branch 'origin/main'
This commit is contained in:
commit
a96f0b2165
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue