chenjiahe
2024-05-30 d0ea714534513f0d8344f673eb6e0e202588b22f
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
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-service",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);
}