修改文件上传路径
This commit is contained in:
parent
8d8c8e7510
commit
c7ddf94011
|
|
@ -595,6 +595,8 @@ def query_collect_report_record(params):
|
|||
return json.dumps(make_common_res(7, '缺少报告类型,请刷新后重试'))
|
||||
report_type = int(report_type)
|
||||
records = db_tmnet.query_collect_report_records(nodeid, area_id, report_type)
|
||||
for item in records:
|
||||
item['create_time'] = item['create_time'].strftime('%Y-%m-%d %H:%M:%S')
|
||||
res = make_common_res(0, 'ok')
|
||||
res['data'] = records
|
||||
return json.dumps(res, ensure_ascii=False)
|
||||
|
|
|
|||
Loading…
Reference in New Issue