| | |
| | | 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 |
| | | ); |
| | | |
| | | |
| | | |
| | | |
| | | } |
| | | //package com.nuvole.four.client; |
| | | // |
| | | //import com.nuvole.common.domain.result.CommonResult; |
| | | //import com.nuvole.common.domain.result.PageBean; |
| | | //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 |
| | | // ); |
| | | // |
| | | // |
| | | // |
| | | // |
| | | //} |