|
@@ -161,7 +161,7 @@ const (
|
|
|
|
|
|
// 报告
|
|
|
const (
|
|
|
- DEFAULT_REPORT_SHARE_BG_IMG = "https://hzstatic.hzinsights.com/static/icon/hzyb/rddp-share-bg.png" // 分享默认背景图
|
|
|
+ DEFAULT_REPORT_SHARE_BG_IMG = "https://hzstatic.hzinsights.com/static/icon/hzyb/rddp-share-bg.png" // 分享默认背景图
|
|
|
)
|
|
|
|
|
|
// SystemSourceList 系统来源
|
|
@@ -179,4 +179,17 @@ var SystemSourceList = []int{
|
|
|
DATA_SOURCE_CALCULATE_ZJPJ, //直接拼接->23
|
|
|
DATA_SOURCE_CALCULATE_LJZTBPJ, //累计值同比拼接->24
|
|
|
DATA_SOURCE_PYTHON, //python代码->27
|
|
|
-}
|
|
|
+}
|
|
|
+
|
|
|
+//缓存key
|
|
|
+const (
|
|
|
+ CACHE_KEY_LOGS = "HZ_ADMIN_CACHE_KEY_LOGS" //api用户操作日志队列
|
|
|
+ CACHE_KEY_ADMIN = "calendar:admin:list" //系统用户列表缓存key
|
|
|
+ CACHE_KEY_ADMIN_ID = "calendar:admin:id:list" //系统用户列表缓存key
|
|
|
+ CACHE_KEY_OLD_REPORT_PUBLISH = "HZ_CACHE_KEY_OLD_REPORT_PUBLISH" // 老后台报告发布队列
|
|
|
+ CACHE_ADMIN_YB_CONFIG = "admin:yb_config:" //研报配置相关缓存前缀
|
|
|
+ CACHE_WIND_URL = "CACHE_WIND_URL" //指标与wind服务器的绑定关系
|
|
|
+ CACHE_CHART_INFO_DATA = "chart:info:data:" //图表数据
|
|
|
+ CACHE_CHART_CLASSIFY = "chart:classify" //图表分类数据
|
|
|
+ CACHE_IMPORT_MANUAL_DATA = "import:manual:data" //手工数据导入后刷新
|
|
|
+)
|