保誠-保戶業務員媒合平台
Jack
2021-11-14 b3b9387ff3e29ddabed067a3916c54ad2b70ad56
pamapi/src/main/java/com/pollex/pam/web/rest/AppointmentResource.java
@@ -2,6 +2,7 @@
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
@@ -21,4 +22,11 @@
   public void clientCreateAppointment(@RequestBody AppointmentCreateDTO appointmentCreateDTO) {
      appointmentService.customerCreateAppointment(appointmentCreateDTO);
   }
   @PostMapping("/markAsContacted")
   public void markAsContacted(@RequestBody Long appointmentId) {
      appointmentService.markAsContacted(appointmentId);
   }
}