# Conflicts: # models/data_manage/edb_data_base.go # utils/constants.go
@@ -62,6 +62,8 @@ func GetEdbDataTableName(source int) (tableName string) {
tableName = "edb_data_lt"
case utils.DATA_SOURCE_COAL:
tableName = "edb_data_coal"
+ case utils.DATA_SOURCE_PYTHON:
+ tableName = "edb_data_python"
default:
tableName = ""
}
@@ -58,6 +58,7 @@ const (
DATA_SOURCE_CALCULATE_LJZTBPJ //累计值同比拼接->24
DATA_SOURCE_LT //路透->25
DATA_SOURCE_COAL //煤炭网->26
+ DATA_SOURCE_PYTHON //python代码->27
)
//数据刷新频率