fhx
2024-05-07 a23efa571a7273304c5f1a16db2f71b04eaac4a2
提交 | 用户 | 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;
5 import com.hz.his.dto.coupon.CouponDto;
6 import org.springframework.cloud.openfeign.FeignClient;
7 import org.springframework.web.bind.annotation.PostMapping;
8 import org.springframework.web.bind.annotation.RequestBody;
9 import org.springframework.web.bind.annotation.RequestMapping;
10 import org.springframework.web.bind.annotation.RequestParam;
11
12 import java.math.BigDecimal;
13
14 /**
15  * 复购活动service
16  */
17 @FeignClient(name="phis-provider",path = "/p-his-data",contextId = "repo-activity")
18 public interface SRepoActivityService {
19
20     /** 门店列表 */
21     @PostMapping(value = "/repo/activity/shop/list")
22     Result shopList();
23
24     /** SPU列表 */
25     @PostMapping(value = "/repo/activity/spu/list")
26     Result spuList(@RequestBody PageDto dto);
27
28     /** 项目映射分类列表 */
29     @PostMapping(value = "/repo/activity/project/type/relation/list")
30     Result projectTypeRelationList(@RequestBody PageDto dto);
31
32     /** 优惠券列表 */
33     @PostMapping(value = "/repo/activity/coupon/list")
34     Result couponList(@RequestBody CouponDto couponDto);
35 }