更改总计逻辑
This commit is contained in:
@@ -20,7 +20,7 @@ from . import sum_data_bp
|
||||
def collect_sum_data():
|
||||
"""从历史记录采集求和数据"""
|
||||
try:
|
||||
data = request.json or {}
|
||||
data = request.get_json(silent=True) or {}
|
||||
history_id = data.get('history_id')
|
||||
log_info(f'[求和数据API] 采集求和数据,历史记录ID: {history_id or "全部"}', 'api')
|
||||
|
||||
|
||||
Reference in New Issue
Block a user