| | |
| | | import com.ruoyi.goods.domain.dto.MgtSelectGoodsPageDto; |
| | | import com.ruoyi.goods.domain.vo.MerGoodsPageVo; |
| | | import com.ruoyi.goods.service.goods.GoodsService; |
| | | import com.ruoyi.system.api.domain.dto.MerBaseDto; |
| | | import com.ruoyi.system.api.domain.vo.MgtSelectGoodsPageVo; |
| | | import io.swagger.annotations.Api; |
| | | import io.swagger.annotations.ApiOperation; |
| | |
| | | return R.ok(page.setRecords(merGoodsPageVoList)); |
| | | } |
| | | |
| | | @RequestMapping(value = "/listMerCycleGoods", method = RequestMethod.POST) |
| | | @ApiOperation(value = "获取商户周期商品列表") |
| | | public R<List<MerGoodsPageVo>> listMerCycleGoods(@RequestBody MerBaseDto merBaseDto) { |
| | | List<MerGoodsPageVo> merGoodsPageVoList = goodsService.listMerCycleGoods(merBaseDto.getShopId()); |
| | | return R.ok(merGoodsPageVoList); |
| | | } |
| | | |
| | | @RequestMapping(value = "/editMerShopGoods", method = RequestMethod.POST) |
| | | @ApiOperation(value = "编辑商户商品价格") |
| | | public R editMerShopGoods(@RequestBody MerShopGoodsEditDto merShopGoodsEditDto) { |