rx
2024-08-05 d621324bcf6c5a26f058b24e0f4d2930f41840f4
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);
 
 
}