fix: 移除create日志中已删除的beforePhoto字段引用

This commit is contained in:
MaDaLei 2026-04-16 21:22:15 +08:00
parent 3298574159
commit fa9cdecfb1

View File

@ -32,7 +32,7 @@ public class ReportController {
@PostMapping("/create") @PostMapping("/create")
public Map<String, Object> create(@RequestBody Report report) { public Map<String, Object> create(@RequestBody Report report) {
System.out.println(">>> Report create received: appointmentId=" + report.getAppointmentId() + ", userId=" + report.getUserId() + ", before=" + report.getBeforePhoto()); System.out.println(">>> Report create received: appointmentId=" + report.getAppointmentId() + ", userId=" + report.getUserId() + ", images count=" + (report.getImages() == null ? 0 : report.getImages().size()));
Report created = reportService.create(report); Report created = reportService.create(report);
Map<String, Object> result = new HashMap<>(); Map<String, Object> result = new HashMap<>();