|
|
@ -197,8 +197,9 @@ public class IcPartyServiceCenterController { |
|
|
|
* @date 2021/11/26 5:21 下午 |
|
|
|
*/ |
|
|
|
@PostMapping("cancelappointment") |
|
|
|
public Result cancelAppointment(@RequestBody CancelAppointmentFormDTO formDTO){ |
|
|
|
public Result cancelAppointment(@RequestBody CancelAppointmentFormDTO formDTO,@LoginUser TokenDto tokenDto){ |
|
|
|
ValidatorUtils.validateEntity(formDTO,CancelAppointmentFormDTO.CancelAppointmentForm.class); |
|
|
|
formDTO.setUserId(tokenDto.getUserId()); |
|
|
|
icPartyServiceCenterService.cancelAppointment(formDTO); |
|
|
|
return new Result(); |
|
|
|
} |
|
|
|