fwq
2023-11-24 2b13c6e40251811e2961eac9eb55c81702b6d66d
提交 | 用户 | age
7fa951 1 package com.hz.his.feign.service.phis;
W 2
3 import com.hx.resultTool.Result;
4 import com.hz.his.dto.user.*;
5 import com.hz.his.dto.user.card.UserCardDto;
6 import com.hz.his.dto.user.card.UserCardUsedDto;
7 import com.hz.his.dto.user.coupon.GoodsUsedCouponDto;
8 import com.hz.his.dto.user.coupon.OrderCanUseCouponDto;
9 import com.hz.his.dto.user.coupon.UserCanUseCouponDto;
10 import com.hz.his.dto.user.coupon.UserCouponDto;
11 import com.hz.his.dto.user.label.UserLabelDto;
12 import com.hz.his.dto.user.money.*;
13 import com.hz.his.dto.user.packages.UserPhisPackageDto;
14 import com.hz.his.dto.user.project.UserProjectDto;
15 import com.hz.his.dto.user.project.UserProjectUsedDto;
16 import com.hz.his.dto.user.promotion.UserPromotionUsedDto;
17 import org.springframework.cloud.openfeign.FeignClient;
18 import org.springframework.web.bind.annotation.PostMapping;
19 import org.springframework.web.bind.annotation.RequestBody;
20 import org.springframework.web.bind.annotation.RequestParam;
21
22 import java.util.List;
23
24 /**
25  * 这里这个name 需要填写 请求的服务提供者的注册到nacos Server上面的服务名,path 是请求接口前缀
26  */
27 @FeignClient(name="phis-provider",path = "/p-his-data",contextId = "user-visit")
28 public interface SUserVisitService {
29
30     /**
64d630 31      * 查询用户是否有到访
7fa951 32      * */
W 33     @PostMapping(value = "/user/check")
34     Result check(@RequestBody UserDto userDto);
35
64d630 36     @PostMapping(value = "/user/query/visitCount")
bdbb53 37     Result queryVisitCount(@RequestBody UserDto userDto);
64d630 38
W 39     @PostMapping(value = "/user/query/lastVisit")
bdbb53 40     Result queryLastVisit(@RequestBody UserDto userDto);
64d630 41
72c2a5 42     @PostMapping(value = "/user/query/appointment/list")
bdbb53 43     Result queryAppointmentList(@RequestBody UserDto userDto);
72c2a5 44
fcd5f0 45     @PostMapping(value = "/user/query/uer-visitCount")
W 46     Result queryUserVisitCount(@RequestBody UserDto userDto);
64d630 47
7fa951 48 }