[修改] 报告book日志管理
This commit is contained in:
@@ -182,6 +182,7 @@ public class ReportManageConroller {
|
||||
map.put("content", html);
|
||||
|
||||
ReportLogBook reportLog = new ReportLogBook();
|
||||
reportLog.setId(UUID.randomUUID().toString().replaceAll("-",""));
|
||||
reportLog.setReportId(id);
|
||||
reportLog.setType(1);
|
||||
reportLog.setUpdateTime(new Date());
|
||||
@@ -199,6 +200,7 @@ public class ReportManageConroller {
|
||||
@GetMapping("/praise/{reportId}")
|
||||
public ResponseMessage praise(@PathVariable("reportId") String reportId) {
|
||||
ReportLogBook reportLog = new ReportLogBook();
|
||||
reportLog.setId(UUID.randomUUID().toString().replaceAll("-",""));
|
||||
reportLog.setReportId(reportId);
|
||||
reportLog.setType(3);
|
||||
reportLog.setUpdateTime(new Date());
|
||||
@@ -457,6 +459,7 @@ public class ReportManageConroller {
|
||||
log.info(ex.getMessage(),ex);
|
||||
}
|
||||
ReportLogBook reportLog = new ReportLogBook();
|
||||
reportLog.setId(UUID.randomUUID().toString().replaceAll("-",""));
|
||||
reportLog.setReportId(repostId);
|
||||
reportLog.setType(2);
|
||||
reportLog.setUpdateTime(new Date());
|
||||
|
||||
Reference in New Issue
Block a user