提交 | 用户 | age
|
afc8d0
|
1 |
package com.hz.his.feign.service.platform.appointment; |
F |
2 |
|
|
3 |
import com.hx.resultTool.Result; |
|
4 |
import com.hz.his.dto.appointment.AppointmentAutoMateDto; |
|
5 |
import com.hz.his.dto.appointment.AppointmentDto; |
|
6 |
import com.hz.his.dto.appointment.AppointmentV2Dto; |
|
7 |
import com.hz.his.dto.user.UserDto; |
|
8 |
import org.springframework.cloud.openfeign.FeignClient; |
|
9 |
import org.springframework.web.bind.annotation.PostMapping; |
|
10 |
import org.springframework.web.bind.annotation.RequestBody; |
|
11 |
|
|
12 |
/** |
|
13 |
* 预约自动匹配service |
|
14 |
* @USER: fhx |
|
15 |
* @DATE: 2023/7/6 |
|
16 |
**/ |
62325a
|
17 |
@FeignClient(name="phi-platform-user",path = "/phip",contextId = "phip-appointment-crm-self-v2") |
afc8d0
|
18 |
public interface SPhipCrmSelfV2Service { |
F |
19 |
|
|
20 |
/** 预约门店 */ |
|
21 |
@PostMapping("/appointment/crm/self/v2/shop/list") |
|
22 |
Result shopList(); |
|
23 |
|
|
24 |
/** 医生排班 */ |
|
25 |
@PostMapping("/appointment/crm/self/v2/doctor/time/list") |
|
26 |
Result doctorTimeList(@RequestBody AppointmentAutoMateDto dto); |
|
27 |
|
|
28 |
/** 预约项目SPU */ |
|
29 |
@PostMapping("/appointment/crm/self/v2/spu/list") |
|
30 |
Result spuList(); |
|
31 |
|
|
32 |
/** 预约项目 */ |
|
33 |
@PostMapping("/appointment/crm/self/v2/project/list") |
|
34 |
Result projectList(@RequestBody AppointmentDto dto); |
|
35 |
|
|
36 |
/** 用户预约列表 */ |
|
37 |
@PostMapping("/appointment/crm/self/v2/list") |
|
38 |
Result list(@RequestBody UserDto dto); |
|
39 |
|
|
40 |
/** 自助预约匹配时间 */ |
|
41 |
@PostMapping("/appointment/crm/self/v2/mate/time") |
|
42 |
Result mateTime(@RequestBody AppointmentAutoMateDto dto); |
|
43 |
|
|
44 |
/** 新增预约 */ |
|
45 |
@PostMapping("/appointment/crm/self/v2/add") |
|
46 |
Result add(@RequestBody AppointmentV2Dto dto); |
|
47 |
|
|
48 |
/** 取消预约 */ |
|
49 |
@PostMapping("/appointment/crm/self/v2/cancel") |
|
50 |
Result cancel(@RequestBody AppointmentV2Dto dto); |
|
51 |
} |