From 1f43b711ebb1c18b83d86189312e2f1abe8a54d6 Mon Sep 17 00:00:00 2001 From: mitao <2763622819@qq.com> Date: 星期四, 04 七月 2024 09:00:00 +0800 Subject: [PATCH] 增加支付回调地址 --- ruoyi-api/ruoyi-api-system/src/main/java/com/ruoyi/system/api/feignClient/GoodsSkuClient.java | 33 +++++++++++++++++++++++++++------ 1 files changed, 27 insertions(+), 6 deletions(-) diff --git a/ruoyi-api/ruoyi-api-system/src/main/java/com/ruoyi/system/api/feignClient/GoodsSkuClient.java b/ruoyi-api/ruoyi-api-system/src/main/java/com/ruoyi/system/api/feignClient/GoodsSkuClient.java index 85a46a9..2d86bc9 100644 --- a/ruoyi-api/ruoyi-api-system/src/main/java/com/ruoyi/system/api/feignClient/GoodsSkuClient.java +++ b/ruoyi-api/ruoyi-api-system/src/main/java/com/ruoyi/system/api/feignClient/GoodsSkuClient.java @@ -3,13 +3,9 @@ import com.ruoyi.common.core.constant.SecurityConstants; import com.ruoyi.common.core.constant.ServiceNameConstants; import com.ruoyi.common.core.domain.R; -import com.ruoyi.system.api.domain.GoodsBrand; -import com.ruoyi.system.api.domain.GoodsCategory; -import com.ruoyi.system.api.domain.GoodsFlavorType; -import com.ruoyi.system.api.domain.GoodsSeckill; -import com.ruoyi.system.api.domain.GoodsSeries; -import com.ruoyi.system.api.domain.GoodsSku; +import com.ruoyi.system.api.domain.*; import com.ruoyi.system.api.domain.dto.GoodsStockUpdDTO; +import com.ruoyi.system.api.domain.vo.GoodsInfoTitleValueVO; import com.ruoyi.system.api.factory.GoodsSkuFactory; import java.util.Collection; import java.util.List; @@ -31,6 +27,10 @@ R<GoodsSku> getGoodsSkuOne(@RequestBody Long goodsSkuId, @RequestHeader(SecurityConstants.FROM_SOURCE) String source); + @PostMapping("/goods-info-title-value/getlistByGoodsId") + R<List<GoodsInfoTitleValueVO>> getlistByGoodsId(@RequestBody Long goodsSkuId, + @RequestHeader(SecurityConstants.FROM_SOURCE) String source); + @PostMapping("/goods-category/getCategoryOne") R<GoodsCategory> getCategoryOne(@RequestBody Long categoryId, @RequestHeader(SecurityConstants.FROM_SOURCE) String source); @@ -44,6 +44,10 @@ R<GoodsFlavorType> getFlavorTypeOne(@RequestBody Long flavorTypeId, @RequestHeader(SecurityConstants.FROM_SOURCE) String source); + @PostMapping("/goods-group-purchase/getGoodsSeckiGoodsGroupPurchaseOne") + R<GoodsGroupPurchase> getGoodsSeckiGoodsGroupPurchaseOne(@RequestBody Long goodsSkuId, + @RequestHeader(SecurityConstants.FROM_SOURCE) String source); + @PostMapping("/goods-seckill/getGoodsSeckillOne") R<GoodsSeckill> getGoodsSeckillOne(@RequestBody Long goodsSkuId, @RequestHeader(SecurityConstants.FROM_SOURCE) String source); @@ -51,6 +55,15 @@ @PostMapping("/goods-sku/updateGoodsSkuOne") R<Boolean> updateGoodsSkuOne(@RequestBody GoodsSku goodsSku, @RequestHeader(SecurityConstants.FROM_SOURCE) String source); + @PutMapping("/goods-sku/updGoods") + R<Boolean> updGoods(@RequestBody GoodsSku goodsSku, + @RequestHeader(SecurityConstants.FROM_SOURCE) String source); + + + @PutMapping("/goods-seckill/updGoodsSeckill1") + R<Boolean> updGoodsSeckill1(@RequestBody GoodsSku goodsSku, + @RequestHeader(SecurityConstants.FROM_SOURCE) String source); + @GetMapping("/goods-seckill/start/{seckillId}") R<?> startSeckill(@PathVariable("seckillId") Long seckillId, @@ -82,6 +95,14 @@ R<?> updGoodsStock(@RequestBody List<GoodsStockUpdDTO> goodsStockUpdDTOS, @RequestHeader(SecurityConstants.FROM_SOURCE) String source); + @PutMapping("/goods-sku/upd-stock1") + R<?> updGoodsStock1(@RequestBody GoodsStockUpdDTO goodsStockUpdDTOS, + @RequestHeader(SecurityConstants.FROM_SOURCE) String source); + + @PutMapping("/goods-seckill/updGoodsSeckill") + R<?> updGoodsSeckill(@RequestBody GoodsStockUpdDTO goodsStockUpdDTOS, + @RequestHeader(SecurityConstants.FROM_SOURCE) String source); + /** * 根据商品id集合查询商品 * -- Gitblit v1.7.1