修改参数注解
This commit is contained in:
parent
eed1b0f98b
commit
12757da62a
|
@ -83,7 +83,7 @@ public class AuthController {
|
||||||
|
|
||||||
@ApiOperation(value = "验证邮箱")
|
@ApiOperation(value = "验证邮箱")
|
||||||
@PostMapping("/verify-email")
|
@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);
|
return emailService.verifyEmail(email, code);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue