Enhance authentication logging and update MyBatis configuration
This commit is contained in:
@@ -3,19 +3,13 @@ package com.gameplatform.server.model.dto.auth;
|
||||
import jakarta.validation.constraints.NotBlank;
|
||||
|
||||
public class LoginRequest {
|
||||
// userType: admin | agent
|
||||
@NotBlank
|
||||
private String userType;
|
||||
@NotBlank
|
||||
private String username; // admin: username, agent: loginAccount
|
||||
private String username; // 统一登录名(admin/agent 共用)
|
||||
@NotBlank
|
||||
private String password;
|
||||
|
||||
public String getUserType() { return userType; }
|
||||
public void setUserType(String userType) { this.userType = userType; }
|
||||
public String getUsername() { return username; }
|
||||
public void setUsername(String username) { this.username = username; }
|
||||
public String getPassword() { return password; }
|
||||
public void setPassword(String password) { this.password = password; }
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user