/*
|
*
|
* Copyright (c) 2018-2025, 信智慧通 All rights reserved.
|
*
|
* Redistribution and use in source and binary forms, with or without
|
* modification, are permitted provided that the following conditions are met:
|
*
|
* Redistributions of source code must retain the above copyright notice,
|
* this list of conditions and the following disclaimer.
|
* Redistributions in binary form must reproduce the above copyright
|
* notice, this list of conditions and the following disclaimer in the
|
* documentation and/or other materials provided with the distribution.
|
* Neither the name of the pig4cloud.com developer nor the names of its
|
* contributors may be used to endorse or promote products derived from
|
* this software without specific prior written permission.
|
* Author: 信智慧通科技
|
*
|
*/
|
|
package com.hxzkmonitor.util;
|
|
/**
|
* @author 信智慧通
|
* @date 2017/10/29
|
*/
|
public interface CommonConstants {
|
/**
|
* header 中租户ID
|
*/
|
String TENANT_ID = "TENANT-ID";
|
|
/**
|
* header 中版本信息
|
*/
|
String VERSION = "VERSION";
|
|
/**
|
* 租户ID
|
*/
|
Integer TENANT_ID_1 = 1;
|
|
/**
|
* 删除
|
*/
|
String STATUS_DEL = "1";
|
/**
|
* 正常
|
*/
|
String STATUS_NORMAL = "0";
|
|
/**
|
* 锁定
|
*/
|
String STATUS_LOCK = "9";
|
|
/**
|
* 菜单
|
*/
|
String MENU = "0";
|
|
/**
|
* 菜单树根节点
|
*/
|
Integer MENU_TREE_ROOT_ID = -1;
|
|
/**
|
* 编码
|
*/
|
String UTF8 = "UTF-8";
|
|
/**
|
* 前端工程名
|
*/
|
String FRONT_END_PROJECT = "xzhi-ui";
|
|
/**
|
* 后端工程名
|
*/
|
String BACK_END_PROJECT = "xzhi";
|
|
/**
|
* 验证码前缀
|
*/
|
String DEFAULT_CODE_KEY = "DEFAULT_CODE_KEY_";
|
|
/**
|
* 公共参数
|
*/
|
String PIG_PUBLIC_PARAM_KEY = "PIG_PUBLIC_PARAM_KEY";
|
|
/**
|
* 成功标记
|
*/
|
Integer SUCCESS = 0;
|
/**
|
* 失败标记
|
*/
|
Integer FAIL = 1;
|
|
/**
|
* 默认存储bucket
|
*/
|
String BUCKET_NAME = "admin";
|
/**
|
* 公厕小程序存储bucket
|
*/
|
String WXTOLIET_BUCKET_NAME = "toilet";
|
/**
|
* 司机照片存储bucket
|
*/
|
String DRIVER_BUCKET_NAME = "driver";
|
|
/**
|
* 积分登记图片存储bucker
|
*/
|
String REGISTER_BUCKET_NAME = "register";
|
|
/**
|
* 信息采集图片存储bucker
|
*/
|
String INSPECTION_BUCKET_NAME = "inspection";
|
|
/**
|
* 志愿者管理图片存储bucker
|
*/
|
String VOLUNTEER_BUCKET_NAME = "volunteer";
|
|
/**
|
* 门牌码存储bucket
|
*/
|
String HOUSE_CODE_BUCKET_NAME = "housecode";
|
|
/**
|
* 邀请码存储bucket
|
*/
|
String INVITATION_CODE_BUCKET_NAME = "invitationcode";
|
}
|