fwq
2024-07-08 971eb04d09d950f7fa0d534560a76dd69d84c69c
提交 | 用户 | age
561450 1 package com.hz.his.feign.service.phis;
F 2
3 import com.hx.resultTool.Result;
4 import com.hz.his.dto.PageDto;
1bfb1b 5 import com.hz.his.dto.activity.RepoActivityDto;
561450 6 import com.hz.his.dto.coupon.CouponDto;
F 7 import org.springframework.cloud.openfeign.FeignClient;
8 import org.springframework.web.bind.annotation.PostMapping;
9 import org.springframework.web.bind.annotation.RequestBody;
10 import org.springframework.web.bind.annotation.RequestMapping;
11 import org.springframework.web.bind.annotation.RequestParam;
12
13 import java.math.BigDecimal;
14
15 /**
16  * 复购活动service
17  */
18 @FeignClient(name="phis-provider",path = "/p-his-data",contextId = "repo-activity")
19 public interface SRepoActivityService {
20
21     /** 门店列表 */
22     @PostMapping(value = "/repo/activity/shop/list")
23     Result shopList();
24
25     /** SPU列表 */
26     @PostMapping(value = "/repo/activity/spu/list")
27     Result spuList(@RequestBody PageDto dto);
28
29     /** 项目映射分类列表 */
30     @PostMapping(value = "/repo/activity/project/type/relation/list")
31     Result projectTypeRelationList(@RequestBody PageDto dto);
32
33     /** 优惠券列表 */
34     @PostMapping(value = "/repo/activity/coupon/list")
35     Result couponList(@RequestBody CouponDto couponDto);
1bfb1b 36
F 37     /** 检查查询用户是否符合参与复购活动 */
38     @PostMapping(value = "/repo/activity/check/user/can/join")
39     Result checkUserCanJoin(@RequestBody RepoActivityDto repoActivityDto);
40
41
561450 42 }