fix: 修改验证码uuid参数默认是string
This commit is contained in:
parent
d3322639de
commit
aab0ea4479
@ -41,7 +41,7 @@ public class LoginController {
|
|||||||
|
|
||||||
@GetMapping("/captcha")
|
@GetMapping("/captcha")
|
||||||
@ApiOperation(value = "验证码", produces="application/octet-stream")
|
@ApiOperation(value = "验证码", produces="application/octet-stream")
|
||||||
@ApiImplicitParam(paramType = "query", dataTypeClass=String.class, name = "uuid", required = true)
|
@ApiImplicitParam(paramType = "query", dataTypeClass=String.class, name = "uuid", required = true,example = "string")
|
||||||
public void captcha(HttpServletResponse response, String uuid)throws IOException {
|
public void captcha(HttpServletResponse response, String uuid)throws IOException {
|
||||||
//uuid不能为空
|
//uuid不能为空
|
||||||
AssertUtils.isBlank(uuid, ErrorCode.IDENTIFIER_NOT_NULL);
|
AssertUtils.isBlank(uuid, ErrorCode.IDENTIFIER_NOT_NULL);
|
||||||
@ -61,5 +61,4 @@ public class LoginController {
|
|||||||
public void logout(){
|
public void logout(){
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user