| | |
| | | /** |
| | | * 这里这个name 需要填写 请求的服务提供者的注册到nacos Server上面的服务名,path 是请求接口前缀 |
| | | */ |
| | | @FeignClient(name="phis-provider",path = "/p-his-data",contextId = "user") |
| | | @FeignClient(name="phi-platform-user",path = "/p-his-data",contextId = "user") |
| | | public interface SUserService { |
| | | |
| | | /** |
| | |
| | | * */ |
| | | @PostMapping(value = "/user/room/list") |
| | | Result userRoomList(@RequestBody UserDto userDto); |
| | | |
| | | |
| | | /** |
| | | * 查询用户优惠券 已经过期和未过期的且过滤生日券 |
| | | * */ |
| | | @PostMapping(value = "/user/coupon/by/valid/state") |
| | | Result userCouponByValidState(@RequestBody UserCouponDto userCouponDto); |
| | | |
| | | |
| | | /** |
| | | * 用户优惠券列表 获取订单全额退款-退回已过期优惠券 |
| | | * */ |
| | | @PostMapping(value = "/user/refund/order/overdue/coupon") |
| | | Result userRefundOrderOverdueCoupon(@RequestBody UserCouponDto userCouponDto); |
| | | |
| | | /** |
| | | * 用户点诊医生记录 |
| | | * */ |
| | | @PostMapping(value = "/user/doctor/data/list") |
| | | Result userDoctorDataList(@RequestBody UserDto userDto); |
| | | |
| | | /** |
| | | * 查询用户年度账单 |
| | | * */ |
| | | @PostMapping(value = "/user/statement/details") |
| | | Result statementDetails(@RequestBody UserDto userDto); |
| | | |
| | | |
| | | /** |
| | | * 查询用户最新的合并账号记录 |
| | | * */ |
| | | @PostMapping(value = "/user/merge/log") |
| | | Result userMergeLog(@RequestBody UserDto userDto); |
| | | |
| | | |
| | | /** |
| | | * 查询用户VIP记录以及要领取的优惠券,传userId字段 |
| | | * 返回实体转换 UserCouponDataVo |
| | | * */ |
| | | @PostMapping(value = "/user/vip/log/coupon") |
| | | Result userVipLogCoupon(@RequestBody UserDto userDto); |
| | | |
| | | } |