remove unused code
This commit is contained in:
parent
e7e078643c
commit
deffba6e16
|
|
@ -1,11 +1,8 @@
|
|||
package com.bonus.auth.form;
|
||||
|
||||
import com.fasterxml.jackson.annotation.JsonCreator;
|
||||
import com.fasterxml.jackson.annotation.JsonProperty;
|
||||
|
||||
/**
|
||||
* 用户登录对象
|
||||
*
|
||||
*
|
||||
* @author bonus
|
||||
*/
|
||||
public class LoginBody
|
||||
|
|
@ -20,15 +17,6 @@ public class LoginBody
|
|||
*/
|
||||
private String password;
|
||||
|
||||
// 无参构造函数
|
||||
public LoginBody() {
|
||||
}
|
||||
@JsonCreator
|
||||
public LoginBody(@JsonProperty("username") String username, @JsonProperty("password") String password) {
|
||||
this.username = username;
|
||||
this.password = password;
|
||||
}
|
||||
|
||||
public String getUsername()
|
||||
{
|
||||
return username;
|
||||
|
|
@ -48,4 +36,4 @@ public class LoginBody
|
|||
{
|
||||
this.password = password;
|
||||
}
|
||||
}
|
||||
}
|
||||
Loading…
Reference in New Issue