| | |
| | | import com.baomidou.mybatisplus.extension.plugins.pagination.Page; |
| | | import com.ruoyi.common.core.domain.R; |
| | | import com.ruoyi.common.core.utils.poi.ExcelUtil; |
| | | import com.ruoyi.common.log.annotation.Log; |
| | | import com.ruoyi.common.log.enums.BusinessType; |
| | | import com.ruoyi.common.security.utils.SecurityUtils; |
| | | import com.ruoyi.goods.domain.dto.*; |
| | | import com.ruoyi.goods.domain.vo.MgtGoodsPageVo; |
| | |
| | | } |
| | | |
| | | @RequestMapping(value = "/editMgtGoods", method = RequestMethod.POST) |
| | | @Log(title = "商品管理", businessType = BusinessType.UPDATE,operContent = "编辑商品") |
| | | @ApiOperation(value = "平台编辑商品") |
| | | public R editMgtGoods(@RequestBody MgtGoodsEditDto mgtGoodsEditDto) { |
| | | Long userId = SecurityUtils.getUserId(); |
| | |
| | | } |
| | | |
| | | @RequestMapping(value = "/upDownMgtGoods", method = RequestMethod.POST) |
| | | @Log(title = "商品管理", businessType = BusinessType.UPDATE,operContent = "上下架商品") |
| | | @ApiOperation(value = "平台上下架商品") |
| | | public R upDownMgtGoods(@RequestBody MgtGoodsUpDownDto mgtGoodsUpDownDto) { |
| | | Long userId = SecurityUtils.getUserId(); |
| | |
| | | } |
| | | |
| | | @RequestMapping(value = "/recommendMgtGoods", method = RequestMethod.POST) |
| | | @Log(title = "商品管理", businessType = BusinessType.UPDATE,operContent = "推荐商品") |
| | | @ApiOperation(value = "平台推荐商品") |
| | | public R recommendMgtGoods(@RequestBody MgtGoodsRecommendDto mgtGoodsRecommendDto) { |
| | | Long userId = SecurityUtils.getUserId(); |
| | |
| | | } |
| | | |
| | | @RequestMapping(value = "/deleteMgtGoods", method = RequestMethod.POST) |
| | | @Log(title = "商品管理", businessType = BusinessType.DELETE,operContent = "删除商品") |
| | | @ApiOperation(value = "删除商品") |
| | | public R deleteMgtGoods(@RequestBody MgtBaseGetDto mgtBaseGetDto) { |
| | | Long userId = SecurityUtils.getUserId(); |