首页>代码>springboot后台OA办公管理系统,功能很完善>/oa_system/src/main/java/cn/gson/oasys/common/formValid/ResultEnum.java
package cn.gson.oasys.common.formValid;

/**
 * Description:
 * 异常结果抛出
 *
 * @author zzy
 * @create 2017-09-12 14:56
 */
public enum ResultEnum {
    ERROR(2, "验证失败"),
    SUCCESS(200, "成功"),
    NONETYPE(1, "找不到参数"),;

    private Integer code;
    private String message;


    ResultEnum(Integer code, String message) {
        this.code = code;
        this.message = message;
    }

    public Integer getCode() {
        return code;
    }

    public String getMessage() {
        return message;
    }
}
最近下载更多
skmckk  LV9 2025年4月25日
lvyga1  LV2 2024年12月20日
angaochong  LV5 2024年10月29日
微信网友_7044194812350464  LV8 2024年9月13日
educationAAA  LV11 2024年9月1日
微信网友_7134912998903808  LV15 2024年8月29日
校园网  LV9 2024年8月4日
氟西汀来救你  LV2 2024年1月10日
admin_z  LV22 2024年1月9日
fff2003  LV9 2023年11月17日
最近浏览更多
chenxiao0401 2025年12月25日
暂无贡献等级
Linus666 2025年12月11日
暂无贡献等级
jackyliu  LV11 2025年11月7日
date122  LV9 2025年9月12日
zxq0817  LV2 2025年8月25日
xfcxzks  LV1 2025年5月2日
skmckk  LV9 2025年4月25日
微信网友_7398626323435520  LV3 2025年2月24日
xiaohuaidan455  LV2 2025年2月17日
dane168  LV10 2025年2月17日
顶部 客服 微信二维码 底部
>扫描二维码关注最代码为好友扫描二维码关注最代码为好友