public enum ResultException{
SUCCESS("000000","成功"),
FAILRET("100000","服务异常"),
ERR("500000","未知错误");
private String errCode;
private String errMsg;
构造方法,set,get方法略
}
public enum ResultException{
SUCCESS("000000","成功"),
FAILRET("100000","服务异常"),
ERR("500000","未知错误");
private String errCode;
private String errMsg;
构造方法,set,get方法略
}
本文标题:枚举
本文链接:https://www.haomeiwen.com/subject/jlkzfctx.html
网友评论