All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.kangyonggan.app.constants.Resp Maven / Gradle / Ivy

The newest version!
package com.kangyonggan.app.constants;

import lombok.Getter;

/**
 * @author kangyonggan
 * @since 5/4/18
 */
public enum Resp {

    /**
     * 操作成功
     */
    SUCCESS("0000", "操作成功"),

    /**
     * 未知错误
     */
    FAILURE("9999", "未知错误,请联系管理员!");

    /**
     * 响应码
     */
    @Getter
    String respCo;

    /**
     * 响应消息
     */
    @Getter
    String respMsg;

    Resp(String respCo, String respMsg) {
        this.respCo = respCo;
        this.respMsg = respMsg;
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy