xuekang
2024-05-13 15a0280ae9e7db96fdf0744c722d214d2cb5a0e5
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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
package com.nuvole.four.client;
 
import com.nuvole.common.domain.result.CommonResult;
import com.nuvole.common.domain.result.PageBean;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;
 
import java.util.Date;
import java.util.List;
import java.util.Map;
 
/**
 * 方法描述: 调用service-shop模块
 *
 * @date  2024-04-14 18:31
 **/
@Component
@FeignClient(value = "service-shop", fallbackFactory = ShopClientFallbackFactory.class)
public interface ShopServiceClient {
 
    /**
     * 方法描述: 查询店铺列表
     *
     * @date  2024-04-14 18:31
     **/
    @GetMapping(value = "/v1/shop/pc/storeMerchantShop/getMerchantShopExtendList", consumes = "application/json")
    CommonResult<PageBean<Map>> getMerchantShopExtendList(
            @RequestParam("queryOrgCode") String queryOrgCode,
            @RequestParam("merchantId") String merchantId,
            @RequestParam("shopName") String shopName,
            @RequestParam("managerName") String managerName,
            @RequestParam("channelId") String channelId,
            @RequestParam("channelIdNotNull") String channelIdNotNull,
            @RequestParam("pageNumber") Integer pageNumber, @RequestParam("pageSize") Integer pageSize);
 
    @GetMapping(value = "/v1/shop/pc/storeMerchantShop/selectShopMsgByIds")
    List<Map> selectShopMsgByIds(
            @RequestParam("ids") String ids);
 
    /**
     * 商户活动数据统计-列表
     * @param orgCode       机构code
     * @param channelId     通道id
     * @param activityId    活动id
     * @param startDate     交易时间
     * @param pageNumber    页码
     * @param pageSize      每页条数
     * @return  商户活动数据统计-列表
     */
    @GetMapping(value = "/v1/shop/pc/static/report/merchant/activity/list")
    CommonResult<PageBean<Map>> merchantActivityList(
                @RequestParam("orgCode") String orgCode,
                @RequestParam("channelId") Long channelId,
                @RequestParam("activityId") Long activityId,
                @RequestParam("startDate") Date startDate,
                @RequestParam("endDate") Date endDate,
                @RequestParam("pageNumber") Integer pageNumber,
                @RequestParam("pageSize") Integer pageSize
            );
 
    /**
     * 商户活动数据统计-数据汇总
     * @param orgCode       机构code
     * @param channelId     通道id
     * @param activityId    活动id
     * @param startDate     交易开始时间
     * @param endDate       交易结束时间
     * @return  商户活动数据统计-数据汇总
     */
    @GetMapping(value = "/v1/shop/pc/static/report/merchant/activity/collect")
    CommonResult<Map> merchantActivityCollect(
            @RequestParam("orgCode") String orgCode,
            @RequestParam("channelId") Long channelId,
            @RequestParam("activityId") Long activityId,
            @RequestParam("startDate") Date startDate,
            @RequestParam("endDate") Date endDate
    );
 
 
 
 
}