package com.hz.his.feign.service.platform; import com.hx.resultTool.Result; import com.hz.his.dto.appointment.AppointmentCrmAddDto; import com.hz.his.dto.appointment.AppointmentV2Dto; import org.springframework.cloud.openfeign.FeignClient; import org.springframework.web.bind.annotation.PostMapping; import org.springframework.web.bind.annotation.RequestBody; /** * @USER: fhx * @DATE: 2023/7/6 **/ @FeignClient(name="phi-platform-user",path = "/phip",contextId = "phip-appointment") public interface SPhipAppointmentService { /** CRM预约 */ @PostMapping("/appointment/crm/app") Result crmApp(@RequestBody AppointmentCrmAddDto dto); /** 新增预约 */ @PostMapping("/appointment/add") Result add(@RequestBody AppointmentV2Dto dto); /** 编辑预约 */ @PostMapping("/appointment/edit") Result edit(@RequestBody AppointmentV2Dto dto); /** 取消预约 */ @PostMapping("/appointment/cancel") Result cancel(@RequestBody AppointmentV2Dto dto); }