| | |
| | | import com.ruoyi.goods.service.IGoodsSeriesService; |
| | | import io.swagger.annotations.Api; |
| | | import io.swagger.annotations.ApiOperation; |
| | | import io.swagger.annotations.ApiParam; |
| | | import lombok.RequiredArgsConstructor; |
| | | import lombok.extern.slf4j.Slf4j; |
| | | import org.springframework.validation.annotation.Validated; |
| | |
| | | */ |
| | | @ApiOperation(value = "删除商品香型", notes = "删除商品香型") |
| | | @DeleteMapping("/{id}") |
| | | public R<Void> deleteGoodsSeries(@PathVariable("id") Long id) { |
| | | public R<Void> deleteGoodsSeries( |
| | | @ApiParam(name = "id", value = "商品香型id", required = true) @PathVariable("id") Long id) { |
| | | goodsSeriesService.removeById(id); |
| | | return R.ok(); |
| | | } |