fhx
2024-04-08 dc694f1781a35e24436a78ed475cf2f839c78a3d
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
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.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")
public interface SPhipCrmSelfService {
 
    /** 预约页面数据 */
    @PostMapping("/appointment/crm/self/page/data")
    Result pageData(@RequestBody UserDto dto);
 
    /** 用户预约列表 */
    @PostMapping("/appointment/crm/self/list")
    Result selfList(@RequestBody UserDto dto);
 
    /** 用户自助预约项目 */
    @PostMapping("/appointment/crm/self/project/list")
    Result projectList(@RequestBody UserDto dto);
 
    /** 自助预约时间 */
    @PostMapping("/appointment/crm/self/getTime")
    Result getTime(@RequestBody AppointmentAutoMateDto dto);
 
    /** 获取一周内医生排班 */
    @PostMapping("/appointment/crm/self/get/doctor/time")
    Result getDoctorTime(@RequestBody AppointmentAutoMateDto dto);
}