Commit 97168a49 by cjh

errorcode提交

parent 45299683
package org.sss.presentation.noui.api.response;
/**
* <br/>created in 2020/6/19 14:56
*
* @author huwenming_saw
*/
public enum ErrorCode {
SYSTEM_ERROR("R9999","系统错误,请稍后重试"),
LOGIN_FIRST_LOGIN("R9996","初次登陆需修改密码"),
LOGIN_PWD_AME_INTERVAL("R9995","已长时间未修改密码,请修改密码"),
LOGIN_PWD_CHECK("R9994","连续多次错误密码,用户已锁定,请联系管理员!"),
LOGIN_PARAMETER_CHECK("R9993","登陆信息不完整,用户名或密码为空"),
LOGIN_NON_USR("R9992","系统无此用户"),
LOGIN_LOCK_USR("R9991","用户已被锁定"),
LOGIN_EXPRIED_USR("R9990","用户已被注销"),
LOGIN_PWD_ERROR("R9989","密码错误!"),
LOGIN_DN_ERROR("R9988","DN码错误!"),
LOGIN_STATE_ABNORMAL_ERROR("R9987","无效用户");
private final String code;
public String getCode() {
return code;
}
public String getMessage() {
return message;
}
private final String message;
ErrorCode(String code, String message){
this.code=code;
this.message=message;
}
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment