| | |
| | | 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; |
| | | |
| | | import java.util.List; |
| | | |
| | | /** |
| | | * @author jqs34 |
| | |
| | | * @param goodsTag |
| | | * @return R |
| | | */ |
| | | @PostMapping("/deleteGoodsTag") |
| | | @PostMapping("/goods/deleteGoodsTag") |
| | | public R deleteGoodsTag(@RequestBody String goodsTag); |
| | | |
| | | @PostMapping("/goods/listGoodsByGoodsId") |
| | | public R<List<Goods>> listGoodsByGoodsId(@RequestBody String goodsIds); |
| | | |
| | | |
| | | /** |
| | | * @description 通过id获取商品价格列表 |
| | | * @author jqs |
| | | * @date 2023/7/3 10:01 |
| | | * @param merGoodsPriceListDto |
| | | * @return R<List<MerGoodsPriceListVo>> |
| | | */ |
| | | @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); |
| | | } |