| | |
| | | package com.ruoyi.goods.controller.inner; |
| | | |
| | | |
| | | import org.springframework.web.bind.annotation.RequestMapping; |
| | | import org.springframework.web.bind.annotation.RestController; |
| | | import com.ruoyi.common.core.domain.R; |
| | | import com.ruoyi.common.security.annotation.InnerAuth; |
| | | import com.ruoyi.goods.mapper.GoodsInfoTitleValueMapper; |
| | | import com.ruoyi.system.api.domain.GoodsSku; |
| | | import com.ruoyi.system.api.domain.vo.GoodsInfoTitleValueVO; |
| | | import org.springframework.web.bind.annotation.*; |
| | | |
| | | import javax.annotation.Resource; |
| | | import java.util.List; |
| | | |
| | | /** |
| | | * <p> |
| | |
| | | @RequestMapping("/goods-info-title-value") |
| | | public class GoodsInfoTitleValueController { |
| | | |
| | | @Resource |
| | | private GoodsInfoTitleValueMapper goodsInfoTitleValueMapper; |
| | | @InnerAuth |
| | | @PostMapping("/getlistByGoodsId") |
| | | @ResponseBody |
| | | public R<List<GoodsInfoTitleValueVO>> getlistByGoodsId(@RequestBody Long goodsSkuId) { |
| | | return R.ok(goodsInfoTitleValueMapper.listByGoodsId(goodsSkuId)); |
| | | |
| | | } |
| | | |
| | | } |