fhx
2024-08-23 1e65523fba19e99dbdf71d0a731a7747a2c9d4e0
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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
package com.hz.his.feign.service.platform.appointment;
 
import com.hx.resultTool.Result;
import com.hz.his.dto.appointment.AppointmentAutoMateDto;
import com.hz.his.dto.appointment.AppointmentDto;
import com.hz.his.dto.appointment.AppointmentV2Dto;
import com.hz.his.dto.user.UserDto;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
 
/**
 * 预约自动匹配service
 * @USER: fhx
 * @DATE: 2023/7/6
 **/
@FeignClient(name="phi-platform-service",path = "/phip",contextId = "phip-appointment-crm-self-v2")
public interface SPhipCrmSelfV2Service {
 
    /** 预约门店 */
    @PostMapping("/appointment/crm/self/v2/shop/list")
    Result shopList();
 
    /** 医生排班 */
    @PostMapping("/appointment/crm/self/v2/doctor/time/list")
    Result doctorTimeList(@RequestBody AppointmentAutoMateDto dto);
 
    /** 预约项目SPU */
    @PostMapping("/appointment/crm/self/v2/spu/list")
    Result spuList();
 
    /** 预约项目 */
    @PostMapping("/appointment/crm/self/v2/project/list")
    Result projectList(@RequestBody AppointmentDto dto);
 
    /** 用户预约列表 */
    @PostMapping("/appointment/crm/self/v2/list")
    Result list(@RequestBody UserDto dto);
 
    /** 自助预约匹配时间 */
    @PostMapping("/appointment/crm/self/v2/mate/time")
    Result mateTime(@RequestBody AppointmentAutoMateDto dto);
 
    /** 新增预约 */
    @PostMapping("/appointment/crm/self/v2/add")
    Result add(@RequestBody AppointmentV2Dto dto);
 
    /** 取消预约 */
    @PostMapping("/appointment/crm/self/v2/cancel")
    Result cancel(@RequestBody AppointmentV2Dto dto);
}