Add register and verify to AuthenticationController
This commit is contained in:
@@ -19,7 +19,7 @@ data class LoginParam(
|
||||
*/
|
||||
@Schema(description = "账户", example = "test", required = true)
|
||||
@field:NotBlank(message = "Account can not be blank")
|
||||
val account: String? = null,
|
||||
val account: String?,
|
||||
|
||||
/**
|
||||
* Password
|
||||
@@ -29,5 +29,5 @@ data class LoginParam(
|
||||
*/
|
||||
@Schema(description = "密码", example = "test123456", required = true)
|
||||
@field:NotBlank(message = "Password can not be blank")
|
||||
val password: String? = null
|
||||
val password: String?
|
||||
)
|
||||
Reference in New Issue
Block a user