From bc624422bc7575385b583e30ca218a29f0189629 Mon Sep 17 00:00:00 2001
From: huliguo <2023611923@qq.com>
Date: 星期四, 24 七月 2025 09:23:17 +0800
Subject: [PATCH] bug修改
---
ruoyi-api/ruoyi-api-system/src/main/java/com/ruoyi/system/api/service/RemoteGoodsService.java | 23 ++++++++++++++++++++++-
1 files changed, 22 insertions(+), 1 deletions(-)
diff --git a/ruoyi-api/ruoyi-api-system/src/main/java/com/ruoyi/system/api/service/RemoteGoodsService.java b/ruoyi-api/ruoyi-api-system/src/main/java/com/ruoyi/system/api/service/RemoteGoodsService.java
index ca1b977..0fca1fe 100644
--- a/ruoyi-api/ruoyi-api-system/src/main/java/com/ruoyi/system/api/service/RemoteGoodsService.java
+++ b/ruoyi-api/ruoyi-api-system/src/main/java/com/ruoyi/system/api/service/RemoteGoodsService.java
@@ -11,6 +11,8 @@
import com.ruoyi.system.api.domain.vo.MerGoodsPriceListVo;
import com.ruoyi.system.api.factory.RemoteGoodsFallbackFactory;
import org.springframework.cloud.openfeign.FeignClient;
+import org.springframework.web.bind.annotation.GetMapping;
+import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
@@ -58,7 +60,7 @@
* @description 通过id获取商品价格列表
* @author jqs
* @date 2023/7/3 10:01
- * @param goodsIds
+ * @param merGoodsPriceListDto
* @return R<List<MerGoodsPriceListVo>>
*/
@PostMapping("/goods/listGoodsPriceByGoodsId")
@@ -67,4 +69,23 @@
@PostMapping("/goods/changeGoodsTotal")
public R changeGoodsTotal(@RequestBody List<GoodsTotalChangeDto> goodsTotalChangeDtoList);
+
+
+ /**
+ * @description 获取分类商品名
+ * @author jqs
+ * @date 2023/8/12 18:39
+ * @param classId
+ * @return R<List<String>>
+ */
+ @PostMapping("/goods/listGoodsNameByGoodsClass")
+ public R<List<String>> listGoodsNameByGoodsClass(@RequestBody Long classId);
+
+ /**
+ * 推送微信小程序订阅消息
+ * @param appointmentId
+ * @return
+ */
+ @GetMapping("/live/push/{appointmentId}")
+ R<?> push(@PathVariable("appointmentId") Long appointmentId);
}
--
Gitblit v1.7.1