From c3ad9af0a5e0e3ccb43dcf056c9c029c0a056095 Mon Sep 17 00:00:00 2001 From: wangrenhuang <wangren_huang@163.com> Date: 星期一, 27 二月 2023 15:17:52 +0800 Subject: [PATCH] 新增修改上下架接口 --- crm-platform-feign/src/main/java/com/hz/crm/feign/FGoodsSkuService.java | 12 +++++++++++- 1 files changed, 11 insertions(+), 1 deletions(-) diff --git a/crm-platform-feign/src/main/java/com/hz/crm/feign/FGoodsSkuService.java b/crm-platform-feign/src/main/java/com/hz/crm/feign/FGoodsSkuService.java index 39800bd..ead560c 100644 --- a/crm-platform-feign/src/main/java/com/hz/crm/feign/FGoodsSkuService.java +++ b/crm-platform-feign/src/main/java/com/hz/crm/feign/FGoodsSkuService.java @@ -3,14 +3,17 @@ import com.hx.resultTool.Result; import com.hz.crm.dto.GoodsSkuDto; import com.hz.crm.dto.GoodsTypeDto; +import com.hz.crm.dto.coupon.CouponCheckDto; import org.springframework.cloud.openfeign.FeignClient; import org.springframework.web.bind.annotation.PostMapping; import org.springframework.web.bind.annotation.RequestBody; +import javax.servlet.http.HttpServletRequest; + /** * 杩欓噷杩欎釜name 闇�瑕佸~鍐� 璇锋眰鐨勬湇鍔℃彁渚涜�呯殑娉ㄥ唽鍒皀acos Server涓婇潰鐨勬湇鍔″悕锛宲ath 鏄姹傛帴鍙e墠缂� */ -@FeignClient(name="crm-platform-service",path = "/crmp",contextId = "crm-goods-sku") +@FeignClient(name="crm-platform-service",path = "/crm-platform",contextId = "crm-goods-sku") public interface FGoodsSkuService { /**sku鍒楄〃*/ @@ -24,4 +27,11 @@ /**鍒嗙被鍒楄〃*/ @PostMapping(value = "/goods/sku/type/list/all") Result typeListAll( @RequestBody(required = false) GoodsTypeDto goodsTypeDto); + + /**浼樻儬鍒告牎楠屾帴鍙�*/ + @PostMapping(value = "/goods/sku/check/coupon") + Result goodsCheckType( @RequestBody(required = false) CouponCheckDto couponCheckDto); + + /**淇敼涓婁笅鏋�*/ + Result updateUp(@RequestBody(required = false) GoodsSkuDto goodsSkuDto); } -- Gitblit v1.8.0