|
@@ -1,87 +1,36 @@
|
|
package cn.com.qmth.examcloud.core.basic.api.request;
|
|
package cn.com.qmth.examcloud.core.basic.api.request;
|
|
|
|
|
|
import cn.com.qmth.examcloud.api.commons.exchange.BaseRequest;
|
|
import cn.com.qmth.examcloud.api.commons.exchange.BaseRequest;
|
|
|
|
+import cn.com.qmth.examcloud.api.commons.security.bean.UserType;
|
|
|
|
|
|
public class LoginReq extends BaseRequest {
|
|
public class LoginReq extends BaseRequest {
|
|
|
|
|
|
private static final long serialVersionUID = 79813981418301573L;
|
|
private static final long serialVersionUID = 79813981418301573L;
|
|
|
|
|
|
/**
|
|
/**
|
|
- * 顶级机构ID
|
|
|
|
|
|
+ * 用户类型
|
|
*/
|
|
*/
|
|
- private Long rootOrgId;
|
|
|
|
|
|
+ private UserType userType;
|
|
|
|
|
|
/**
|
|
/**
|
|
- * 域名
|
|
|
|
|
|
+ * 用户ID(包含普通用户ID,学生用户ID)
|
|
*/
|
|
*/
|
|
- private String domain;
|
|
|
|
|
|
+ private Long userId;
|
|
|
|
|
|
- /**
|
|
|
|
- * 登陆账号类型
|
|
|
|
- */
|
|
|
|
- private String accountType;
|
|
|
|
-
|
|
|
|
- /**
|
|
|
|
- * 登陆账号值
|
|
|
|
- */
|
|
|
|
- private String accountValue;
|
|
|
|
-
|
|
|
|
- /**
|
|
|
|
- * 密码
|
|
|
|
- */
|
|
|
|
- private String password;
|
|
|
|
-
|
|
|
|
- /**
|
|
|
|
- * 客户端IP
|
|
|
|
- */
|
|
|
|
- private String clientIp;
|
|
|
|
-
|
|
|
|
- public Long getRootOrgId() {
|
|
|
|
- return rootOrgId;
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
- public void setRootOrgId(Long rootOrgId) {
|
|
|
|
- this.rootOrgId = rootOrgId;
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
- public String getDomain() {
|
|
|
|
- return domain;
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
- public void setDomain(String domain) {
|
|
|
|
- this.domain = domain;
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
- public String getAccountType() {
|
|
|
|
- return accountType;
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
- public void setAccountType(String accountType) {
|
|
|
|
- this.accountType = accountType;
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
- public String getAccountValue() {
|
|
|
|
- return accountValue;
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
- public void setAccountValue(String accountValue) {
|
|
|
|
- this.accountValue = accountValue;
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
- public String getPassword() {
|
|
|
|
- return password;
|
|
|
|
|
|
+ public UserType getUserType() {
|
|
|
|
+ return userType;
|
|
}
|
|
}
|
|
|
|
|
|
- public void setPassword(String password) {
|
|
|
|
- this.password = password;
|
|
|
|
|
|
+ public void setUserType(UserType userType) {
|
|
|
|
+ this.userType = userType;
|
|
}
|
|
}
|
|
|
|
|
|
- public String getClientIp() {
|
|
|
|
- return clientIp;
|
|
|
|
|
|
+ public Long getUserId() {
|
|
|
|
+ return userId;
|
|
}
|
|
}
|
|
|
|
|
|
- public void setClientIp(String clientIp) {
|
|
|
|
- this.clientIp = clientIp;
|
|
|
|
|
|
+ public void setUserId(Long userId) {
|
|
|
|
+ this.userId = userId;
|
|
}
|
|
}
|
|
|
|
|
|
}
|
|
}
|