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-user",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); }