From 1e8ba4b6b7269ee0c7461ea9d08d31e18caef650 Mon Sep 17 00:00:00 2001 From: wangrenhuang <wangren_huang@163.com> Date: 星期四, 06 七月 2023 15:16:49 +0800 Subject: [PATCH] 新增排班同步接口 --- crm-platform-feign/src/main/java/com/hz/crm/feign/FGoodsSkuService.java | 24 ++++++++++++++++++++++-- 1 files changed, 22 insertions(+), 2 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 1f79830..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,23 +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