parent
77a56b4f9c
commit
7ee21f06ff
|
@ -1029,6 +1029,7 @@ public class ProjectService {
|
|||
|
||||
// 删除 UI 报告产生的截图
|
||||
public void cleanUpUiReportImg() {
|
||||
try {
|
||||
// 属于定时任务删除调试报告情况
|
||||
// 获取昨天的当前时间
|
||||
Date backupTime = org.apache.commons.lang3.time.DateUtils.addDays(new Date(), -1);
|
||||
|
@ -1054,6 +1055,10 @@ public class ProjectService {
|
|||
apiScenarioReportMapper.deleteByPrimaryKey(apiScenarioReport.getId());
|
||||
}
|
||||
}
|
||||
} catch (Exception e) {
|
||||
LogUtil.error(e.getMessage(), e);
|
||||
MSException.throwException(e.getMessage());
|
||||
}
|
||||
}
|
||||
|
||||
public void checkProjectIsRepeatable(String projectId) {
|
||||
|
|
Loading…
Reference in New Issue