解决冲突
This commit is contained in:
parent
14e1484751
commit
b4ed768291
@ -123,6 +123,9 @@ global_config = {
|
|||||||
'sqlitedb': None,
|
'sqlitedb': None,
|
||||||
'db_mysql': None,
|
'db_mysql': None,
|
||||||
'baichuan_table_name': None,
|
'baichuan_table_name': None,
|
||||||
|
|
||||||
|
# 报告配置
|
||||||
|
'is_bdwd': None, # 是否使用bdwd数据
|
||||||
}
|
}
|
||||||
# 定义函数
|
# 定义函数
|
||||||
|
|
||||||
@ -1205,6 +1208,11 @@ class Config:
|
|||||||
@property
|
@property
|
||||||
def db_mysql(self): return global_config['db_mysql']
|
def db_mysql(self): return global_config['db_mysql']
|
||||||
|
|
||||||
|
# 报告配置
|
||||||
|
@property
|
||||||
|
def is_bdwd(self): return global_config['is_bdwd']
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
config = Config()
|
config = Config()
|
||||||
|
|
||||||
@ -2315,3 +2323,6 @@ def push_market_value():
|
|||||||
except Exception as e:
|
except Exception as e:
|
||||||
config.logger.error(f"推送数据失败: {e}")
|
config.logger.error(f"推送数据失败: {e}")
|
||||||
|
|
||||||
|
|
||||||
|
def get_bdwd_predict_data():
|
||||||
|
pass
|
Loading…
Reference in New Issue
Block a user