[docs]登陆改登录,傻傻分不清

This commit is contained in:
tomsun28
2022-02-28 09:15:18 +08:00
parent e9c3094ec6
commit 17ef5e7dee
18 changed files with 119 additions and 94 deletions

View File

@@ -50,7 +50,7 @@ public class AccountController {
private SurenessAccountProvider accountProvider = new DocumentAccountProvider();
@PostMapping("/form")
@ApiOperation(value = "账户登", notes = "账户密码登获取关联用户信息")
@ApiOperation(value = "账户登", notes = "账户密码登获取关联用户信息")
public ResponseEntity<Message<Map<String, String>>> authGetToken(@RequestBody LoginDto loginDto) {
SurenessAccount account = accountProvider.loadAccount(loginDto.getIdentifier());

View File

@@ -13,7 +13,7 @@ import javax.validation.constraints.NotBlank;
import static io.swagger.annotations.ApiModelProperty.AccessMode.READ_ONLY;
/**
* 登注册账户信息传输体 username phone email
* 登注册账户信息传输体 username phone email
* @author tomsun28
* @date 20:36 2019-08-01
*/
@@ -25,7 +25,7 @@ import static io.swagger.annotations.ApiModelProperty.AccessMode.READ_ONLY;
public class LoginDto {
@ApiModelProperty(value = "类型", example = "1", accessMode = READ_ONLY, position = 0)
@Range(min = 0, max = 4, message = "1.账户(邮箱用户名手机号)密码登 2.github登 3.微信登")
@Range(min = 0, max = 4, message = "1.账户(邮箱用户名手机号)密码登 2.github登 3.微信登")
private Byte type;
@ApiModelProperty(value = "用户标识", example = "1", accessMode = READ_ONLY, position = 0)