fix: 更新report.py中的后续状态更新逻辑,添加图片链接以增强信息完整性
This commit is contained in:
parent
d5ae21e320
commit
81780ecd0a
@ -40,7 +40,7 @@ while True:
|
||||
logger.logger.info(f"subsequent id:{rs_id},report_id:{r_id} ")
|
||||
try:
|
||||
subsequent_status, info = d.report_follow_up(r_id)
|
||||
db.update_subsequent_status_by_id(rs_id, subsequent_status, info)
|
||||
db.update_subsequent_status_by_id(rs_id, subsequent_status, f"http://123.58.197.91:5000/image/{info}")
|
||||
except Exception as e:
|
||||
logger.logger.error(f"ID:{rs_id}, e:{e}")
|
||||
db.update_subsequent_status_by_id(rs_id, 1, str(e))
|
||||
|
Loading…
x
Reference in New Issue
Block a user