From aad7306f9e8099415a60b1d99e7d7aba9695167e Mon Sep 17 00:00:00 2001 From: wangrenhuang <wangren_huang@163.com> Date: 星期四, 28 九月 2023 10:41:27 +0800 Subject: [PATCH] 退款接口优化 --- crm-platform-feign/src/main/java/com/hz/crm/feign/FGoodsSkuService.java | 32 +++++++++++++++++++++++++++++++- 1 files changed, 31 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..b32a799 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,47 @@ 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); + + /** 鏍规嵁phisId鏌ヨ鍟嗗搧sku */ + @RequestMapping(value = "/goods/sku/selectGoodsSkuByHisId") + Result selectGoodsSkuByHisId(@RequestBody(required = false) GoodsSkuDto goodsSkuDto); } -- Gitblit v1.8.0