package cn.besteam.common.constant; public interface CommonConstant { /** * 正常状态 */ Integer STATUS_NORMAL = 1; /** * 禁用状态 */ Integer STATUS_DISABLE = 2; /** * 删除标志 */ Integer DEL_FLAG_1 = 1; /** * 未删除 */ Integer DEL_FLAG_0 = 0; /** * 系统日志类型: 登录 */ int LOG_TYPE_1 = 1; /** * 系统日志类型: 操作 */ int LOG_TYPE_2 = 2; /** * {@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; String PREFIX_USER_ROLE = "PREFIX_USER_ROLE"; String PREFIX_USER_PERMISSION = "PREFIX_USER_PERMISSION:"; int TOKEN_EXPIRE_TIME = 3600; String PREFIX_USER_TOKEN = "PREFIX_USER_TOKEN:"; String PREFIX_USER_OPENID = "mp:user:"; /** * 固定密码用于生成jwt */ String PASSWORD = "QWERT12345!"; String X_ACCESS_TOKEN = "X-Access-Token"; String LOGO_STORE = "https://cat-assets.oss-cn-shenzhen.aliyuncs.com/cat-dev/def/store-logo.png"; /** * 0:一级菜单 */ public static final Integer MENU_TYPE_0 = 0; /** * 1:子菜单 */ public static final Integer MENU_TYPE_1 = 1; /** * 2:按钮权限 */ public static final Integer MENU_TYPE_2 = 2; /** * 状态(0无效1有效) */ public static final String STATUS_0 = "0"; public static final String STATUS_1 = "1"; /** * 是否配置菜单的数据权限 1是0否 */ public static final Integer RULE_FLAG_0 = 0; public static final Integer RULE_FLAG_1 = 1; /** * 入库统计 */ Integer STORE_STATISTICS_WAY = 2; /** * 出库统计 */ Integer CHECKOUT_STATISTICS_WAY = 3; /** * 暂存间(默认 0 非暂存间) */ Integer WARE_HOUSE = 1; }