| | |
| | | |
| | | |
| | | import com.baomidou.mybatisplus.extension.service.IService; |
| | | import com.ruoyi.common.core.domain.R; |
| | | import com.ruoyi.goods.domain.Recipient; |
| | | import com.ruoyi.goods.domain.TGoods; |
| | | import com.ruoyi.goods.dto.GoodExchangeDTO; |
| | |
| | | * @return 推荐商品 |
| | | */ |
| | | List<TGoodsVO> goodRecommend(Integer userId); |
| | | TGoods getById1(Integer goodsId); |
| | | |
| | | /** |
| | | * 立即兑换 |
| | |
| | | * @param recipient 收货地址 |
| | | * @return 兑换结果 |
| | | */ |
| | | Object goodExchange(GoodExchangeDTO goodExchange, Recipient recipient); |
| | | R<String> goodExchange(GoodExchangeDTO goodExchange, Recipient recipient); |
| | | R goodExchange1(GoodExchangeDTO goodExchange, Recipient recipient); |
| | | |
| | | void updateOne(TGoods dto); |
| | | |
| | | } |