CommonConstant.java 963 Bytes
package com.pashanhoo.common;

public interface CommonConstant {

    /**
     * 新增校验报错状态
     */
    Integer CHECK_ERROR_2002=2002;
    /**
     * {@code 500 Server Error} (HTTP/1.0 - RFC 1945)
     */
    Integer SC_INTERNAL_SERVER_ERROR_500 = 500;
    /**
     * {@code 200 OK} (HTTP/1.0 - RFC 1945)
     */
    Integer SC_OK_200 = 200;

    /**
     * {@code 200 OK} (HTTP/1.0 - RFC 1945)
     */
    Integer SC_INFO_206 = 206;

    /**
     * {@code 200 OK} (HTTP/1.0 - RFC 1945)
     */
    Integer SC_INFO_210 = 210;

    /**
     * 字典信息缓存
     */
    String SYS_DICT_NAME = "sys:dict:name:";

    /**
     * 字典信息缓存
     */
    String SYS_DICT_ID = "sys:dict:id:";

    /**
     * 字典信息单条
     */
    String SYS_DICT_ALL = "sys:dict:all:";

    /**
     * 字典信息缓存
     */
    String SYS_DICT_CODE = "sys:dict:code:";

    /**
     * 菜单列表
     */
    String MENU_TREE = "sys:menu:";


}