| | |
| | | import com.ruoyi.admin.entity.RecoveryClassify; |
| | | import com.ruoyi.admin.service.RecoveryClassifyService; |
| | | import com.ruoyi.common.core.domain.R; |
| | | import com.ruoyi.common.security.annotation.RequiresPermissions; |
| | | import io.swagger.annotations.Api; |
| | | import io.swagger.annotations.ApiImplicitParam; |
| | | import io.swagger.annotations.ApiImplicitParams; |
| | |
| | | * @param pageNum 页码 |
| | | * @param pageSize 每页显示条数 |
| | | */ |
| | | @RequiresPermissions("serve_recycling_classification") |
| | | @ApiOperation(value = "回收分类分页查询列表", tags = {"后台-回收管理-回收分类管理"}) |
| | | @GetMapping(value = "/page") |
| | | @ApiImplicitParams({ |
| | |
| | | * |
| | | * @param id 回收分类id |
| | | */ |
| | | @RequiresPermissions("serve_recycling_classification") |
| | | @ApiOperation(value = "回收分类详情", tags = {"后台-回收管理-回收分类管理"}) |
| | | @GetMapping(value = "/detail") |
| | | @ApiImplicitParams({ |
| | |
| | | /** |
| | | * 是否首页推荐 |
| | | */ |
| | | @RequiresPermissions("serve_recycling_classification") |
| | | @ApiOperation(value = "是否首页推荐", tags = {"后台-回收管理-回收分类管理"}) |
| | | @GetMapping(value = "/recommend") |
| | | @ApiImplicitParams({ |
| | |
| | | * |
| | | * @param recoveryClassify 回收分类信息 |
| | | */ |
| | | @RequiresPermissions("serve_recycling_classification") |
| | | @ApiOperation(value = "新增回收分类", tags = {"后台-回收管理-回收分类管理"}) |
| | | @PostMapping(value = "/save") |
| | | public R<String> save(@RequestBody RecoveryClassify recoveryClassify) { |
| | |
| | | * |
| | | * @param recoveryClassify 回收分类信息 |
| | | */ |
| | | @RequiresPermissions("serve_recycling_classification") |
| | | @ApiOperation(value = "修改回收分类", tags = {"后台-回收管理-回收分类管理"}) |
| | | @PostMapping(value = "/update") |
| | | public R<String> update(@RequestBody RecoveryClassify recoveryClassify) { |
| | |
| | | * |
| | | * @param ids 回收分类多条id拼接 |
| | | */ |
| | | @RequiresPermissions("serve_recycling_classification") |
| | | @ApiOperation(value = "批量删除回收分类", tags = {"后台-回收管理-回收分类管理"}) |
| | | @GetMapping(value = "/batchDelete") |
| | | @ApiImplicitParams({ |