From b0cc9bd3619e69fa4c8bbdedebb56435cfd74a8f Mon Sep 17 00:00:00 2001 From: luodangjia <luodangjia> Date: 星期五, 17 一月 2025 11:24:51 +0800 Subject: [PATCH] 12.18 --- ruoyi-service/ruoyi-other/src/main/java/com/ruoyi/other/service/GoodsService.java | 7 ++++--- 1 files changed, 4 insertions(+), 3 deletions(-) diff --git a/ruoyi-service/ruoyi-other/src/main/java/com/ruoyi/other/service/GoodsService.java b/ruoyi-service/ruoyi-other/src/main/java/com/ruoyi/other/service/GoodsService.java index db2c9b8..59f4ee2 100644 --- a/ruoyi-service/ruoyi-other/src/main/java/com/ruoyi/other/service/GoodsService.java +++ b/ruoyi-service/ruoyi-other/src/main/java/com/ruoyi/other/service/GoodsService.java @@ -3,6 +3,7 @@ import com.baomidou.mybatisplus.core.metadata.IPage; import com.baomidou.mybatisplus.extension.plugins.pagination.Page; import com.baomidou.mybatisplus.extension.service.IService; +import com.ruoyi.common.core.web.page.PageInfo; import com.ruoyi.other.api.domain.Goods; import com.ruoyi.other.vo.GoodsVO; @@ -18,11 +19,11 @@ */ public interface GoodsService extends IService<Goods> { - List<GoodsVO> goodsList(Goods goods); + PageInfo<GoodsVO> goodsList(Goods goods); - GoodsVO goodsDetail(Long goodsId); + GoodsVO goodsDetail(Long goodsId, Integer shopId, String longitude, String latitude); - List<Goods> getGoodsListByShopId(Integer shopId); + List<Goods> getGoodsListByShopId(PageInfo<Goods> pageInfo, Integer shopId); void addGoods(Goods goods); -- Gitblit v1.7.1