|
@@ -137,6 +137,6 @@ async def code3002(**sources):
|
|
|
"""
|
|
|
下载指定驾驶人员操作日志
|
|
|
"""
|
|
|
- file_name = '671754598302fc6fd344819f.log'
|
|
|
- file_path = f"/home/server/logs/{file_name}"
|
|
|
- return {'file_path': file_path, 'file_name': file_name}
|
|
|
+ log_uuid = '671754598302fc6fd344819f'
|
|
|
+ file_path = os.path.join(save_dir, f'{log_uuid}.log')
|
|
|
+ return {'file_path': file_path, 'file_name': '2024-12-12.log'}
|