From 119a895905c436ee81bad63bd19fd12d91de281b Mon Sep 17 00:00:00 2001 From: wangrenhuang <wangren_huang@163.com> Date: 星期一, 03 七月 2023 19:20:39 +0800 Subject: [PATCH] 老带新优化 --- crm-platform-feign/src/main/java/com/hz/crm/feign/FGoodsSkuService.java | 28 +++++++++++++++++++++++++++- 1 files changed, 27 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 98f6847..806b167 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 @@ -2,17 +2,43 @@ 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 org.springframework.web.bind.annotation.RequestMapping; +import org.springframework.web.bind.annotation.RequestMethod; + +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鍒楄〃*/ @PostMapping(value = "/goods/sku/list") Result list( @RequestBody(required = false) GoodsSkuDto goodsSkuDto); + /**sku鍒嗙被鍒楄〃*/ + @PostMapping(value = "/goods/sku/type/list") + Result typeList( @RequestBody(required = false) GoodsSkuDto goodsSkuDto); + + /**鍒嗙被鍒楄〃*/ + @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); + + /**淇敼涓婁笅鏋�*/ + @RequestMapping(value = "/updateUp") + Result updateUp(@RequestBody(required = false) GoodsSkuDto goodsSkuDto); + + /**鍒嗙被鍒楄〃*/ + @RequestMapping(value = "/goods/sku/type/select/list") + Result goodsSkuTypeList(@RequestBody(required = false) GoodsTypeDto goodsTypeDto); } -- Gitblit v1.8.0