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