|
src\main\java\org\jeecgframework\web\system\controller\core\LoginController.java (2 hits)
大约Line 131: u = userService.findUniqueByProperty(TSUser.class, "email", user.getUserName());
大约Line 198: u = userService.findUniqueByProperty(TSUser.class, "email", user.getUserName());
为什么这里是"email",而不是"userName"?
关联文件是:
src/main/java/org/jeecgframework/web/system/pojo/base/TSBaseUser.java
@Column(name = "username", nullable = false)
public String getUserName() {
return this.userName;
}
public void setUserName(String userName) {
this.userName = userName;
}
|
|