modify stockapp.em scripts.

This commit is contained in:
2025-03-02 17:03:03 +08:00
parent d522dd9830
commit ddaa568380
5 changed files with 240 additions and 15 deletions

View File

@ -6,7 +6,7 @@ from pathlib import Path
# MySQL 配置
db_config = {
'host': '172.18.0.3',
'host': '172.18.0.5',
'user': 'root',
'password': 'mysqlpw',
'database': 'stockdb'
@ -14,6 +14,9 @@ db_config = {
log_dir_prefix = '../log'
global_share_data_dir = '/root/sharedata'
global_stock_data_dir = '/root/hostdir/stock_data'
# 获取log目录
def get_log_directory():
"""