Browse Source

测试打印日志

xujiayue 1 year ago
parent
commit
04f2c5fb98
1 changed files with 1 additions and 0 deletions
  1. 1 0
      app/routers/jm_job_info.py

+ 1 - 0
app/routers/jm_job_info.py

@@ -64,6 +64,7 @@ def get_jm_job_infos(token_data: schemas.TokenData = Depends(verify_users), db:
         history = history[0:10]
         history.sort(key=lambda x: x['start_time'], reverse=False)
         jm_job_dict.update({'history':history})
+        print(jm_job)
         requirements_status = get_requirements_status_by_job_id(db,jm_job.id)
         jm_job_dict.update({'requirements_status': 0 if requirements_status else 1})
         res_list.append(jm_job_dict)