remove unused code
This commit is contained in:
parent
e7e078643c
commit
deffba6e16
|
|
@ -1,8 +1,5 @@
|
||||||
package com.bonus.auth.form;
|
package com.bonus.auth.form;
|
||||||
|
|
||||||
import com.fasterxml.jackson.annotation.JsonCreator;
|
|
||||||
import com.fasterxml.jackson.annotation.JsonProperty;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 用户登录对象
|
* 用户登录对象
|
||||||
*
|
*
|
||||||
|
|
@ -20,15 +17,6 @@ public class LoginBody
|
||||||
*/
|
*/
|
||||||
private String password;
|
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()
|
public String getUsername()
|
||||||
{
|
{
|
||||||
return username;
|
return username;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue