fhx
2024-04-03 7c23b9962d35e38ec6c4e0dd32d75027e69bf189
提交 | 用户 | age
27843e 1 package com.hz.his.feign.service.platform;
F 2
3 import com.hx.resultTool.Result;
4 import com.hz.his.dto.appointment.AppointmentCrmAddDto;
85a953 5 import com.hz.his.dto.appointment.AppointmentV2Dto;
27843e 6 import org.springframework.cloud.openfeign.FeignClient;
F 7 import org.springframework.web.bind.annotation.PostMapping;
8 import org.springframework.web.bind.annotation.RequestBody;
9
10 /**
11  * @USER: fhx
12  * @DATE: 2023/7/6
13  **/
14 @FeignClient(name="phi-platform-service",path = "/phip",contextId = "phip-appointment")
15 public interface SPhipAppointmentService {
16
17     /** CRM预约 */
18     @PostMapping("/appointment/crm/app")
19     Result crmApp(@RequestBody AppointmentCrmAddDto dto);
85a953 20
F 21     /** 新增预约 */
22     @PostMapping("/appointment/add")
23     Result add(@RequestBody AppointmentV2Dto dto);
24
25     /** 编辑预约 */
26     @PostMapping("/appointment/edit")
27     Result edit(@RequestBody AppointmentV2Dto dto);
28
29     /** 取消预约 */
30     @PostMapping("/appointment/cancel")
31     Result cancel(@RequestBody AppointmentV2Dto dto);
27843e 32 }