| | |
| | | import com.gkhy.assess.system.service.SysExpertClassifyService; |
| | | import io.swagger.annotations.Api; |
| | | import io.swagger.annotations.ApiOperation; |
| | | import org.apache.shiro.authz.annotation.RequiresPermissions; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.web.bind.annotation.*; |
| | | |
| | |
| | | return CommonResult.success(expertClassifyService.classifyTree(expertClassify)); |
| | | } |
| | | |
| | | @RequiresPermissions("system:assess:monitor") |
| | | @RepeatSubmit |
| | | @ApiOperation(value = "修改专家分类") |
| | | @PutMapping("/mod") |
| | |
| | | return CommonResult.success(expertClassifyService.modClassify(expertClassify)); |
| | | } |
| | | |
| | | @RequiresPermissions("system:assess:monitor") |
| | | @RepeatSubmit |
| | | @ApiOperation(value = "删除专家分类") |
| | | @DeleteMapping("/del/{classifyId}") |
| | |
| | | } |
| | | |
| | | |
| | | @RequiresPermissions("system:assess:monitor") |
| | | @RepeatSubmit |
| | | @ApiOperation(value = "新增专家分类") |
| | | @PostMapping("/add") |