fhx
2024-08-12 1cc8d819402db6729edcd2cf0349ae8ab1a84ce0
提交 | 用户 | 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;
ca20cb 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  **/
314a4b 14 @FeignClient(name="phi-platform-user",path = "/phip",contextId = "phip-appointment")
27843e 15 public interface SPhipAppointmentService {
F 16
17     /** CRM预约 */
18     @PostMapping("/appointment/crm/app")
19     Result crmApp(@RequestBody AppointmentCrmAddDto dto);
ca20cb 20
F 21
22     /** 新增预约 */
23     @PostMapping("/appointment/add")
24     Result add(@RequestBody AppointmentV2Dto dto);
25
26     /** 编辑预约 */
27     @PostMapping("/appointment/edit")
28     Result edit(@RequestBody AppointmentV2Dto dto);
29
30     /** 取消预约 */
31     @PostMapping("/appointment/cancel")
32     Result cancel(@RequestBody AppointmentV2Dto dto);
27843e 33 }