mitao
2025-01-10 b9679b6f96bbe8b52ee1d699033d9021d5fe870f
ruoyi-api/ruoyi-api-system/src/main/java/com/ruoyi/system/api/service/RemoteGoodsService.java
@@ -3,12 +3,16 @@
import com.ruoyi.common.core.constant.ServiceNameConstants;
import com.ruoyi.common.core.domain.R;
import com.ruoyi.system.api.domain.dto.AppShopGoodsGetDto;
import com.ruoyi.system.api.domain.dto.GoodsTotalChangeDto;
import com.ruoyi.system.api.domain.dto.MerGoodsPriceListDto;
import com.ruoyi.system.api.domain.poji.goods.Goods;
import com.ruoyi.system.api.domain.poji.goods.GoodsFile;
import com.ruoyi.system.api.domain.poji.goods.ShopGoods;
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;
@@ -56,9 +60,32 @@
     * @description  通过id获取商品价格列表
     * @author  jqs
     * @date    2023/7/3 10:01
     * @param goodsIds
     * @param merGoodsPriceListDto
     * @return  R<List<MerGoodsPriceListVo>>
     */
    @PostMapping("/listGoodsPriceByGoodsId")
    public R<List<MerGoodsPriceListVo>> listGoodsPriceByGoodsId(@RequestBody String goodsIds);
    @PostMapping("/goods/listGoodsPriceByGoodsId")
    public R<List<MerGoodsPriceListVo>> listGoodsPriceByGoodsId(@RequestBody MerGoodsPriceListDto merGoodsPriceListDto);
    @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);
}