From d5b25673d8db7d40a8fd5bcfce6017c9bd921091 Mon Sep 17 00:00:00 2001 From: lisy <linlangsur163@163.com> Date: 星期三, 12 七月 2023 18:43:20 +0800 Subject: [PATCH] 使用福利:积分兑换记录todo --- cloud-server-account/src/main/java/com/dsh/account/feignclient/activity/MerChandiseClient.java | 14 ++++++++++++++ 1 files changed, 14 insertions(+), 0 deletions(-) diff --git a/cloud-server-account/src/main/java/com/dsh/account/feignclient/activity/MerChandiseClient.java b/cloud-server-account/src/main/java/com/dsh/account/feignclient/activity/MerChandiseClient.java index bdcab0b..7dc2d71 100644 --- a/cloud-server-account/src/main/java/com/dsh/account/feignclient/activity/MerChandiseClient.java +++ b/cloud-server-account/src/main/java/com/dsh/account/feignclient/activity/MerChandiseClient.java @@ -1,9 +1,14 @@ package com.dsh.account.feignclient.activity; +import com.dsh.account.feignclient.activity.model.CommodityRequest; import com.dsh.account.feignclient.activity.model.IntegralCommodity; +import com.dsh.account.feignclient.activity.model.PointsMerchandise; +import com.dsh.account.feignclient.activity.model.ProductDetailRequest; +import com.dsh.account.model.vo.userBenefitDetail.ProductDetailsVo; import org.springframework.cloud.openfeign.FeignClient; import org.springframework.web.bind.annotation.PostMapping; +import org.springframework.web.bind.annotation.RequestBody; import java.util.List; @@ -14,4 +19,13 @@ public List<IntegralCommodity> getConvertibleGoods(); + @PostMapping("/base/pointMerchars/getCommoditys") + public List<PointsMerchandise> getVicinityGoods(@RequestBody CommodityRequest request); + + @PostMapping("/base/pointMerchars/getRedeemedNums") + public int getRedeemedQuantity(@RequestBody Integer goodId); + + @PostMapping("/base/pointMerchars/getGoodDetails") + ProductDetailsVo getGoodDetailsWithId(@RequestBody ProductDetailRequest detailRequest); + } -- Gitblit v1.7.1