提交 | 用户 | 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 |
**/ |
|
14 |
@FeignClient(name="phi-platform-service",path = "/phip",contextId = "phip-appointment") |
|
15 |
public interface SPhipAppointmentService { |
|
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 |
} |