| | |
| | | * |
| | | * @param id 常见问题id |
| | | */ |
| | | @RequiresPermissions("system_problem") |
| | | @RequiresPermissions("problem_detail") |
| | | @ApiOperation(value = "常见问题详情", tags = {"后台-系统设置-常见问题管理"}) |
| | | @GetMapping(value = "/detail") |
| | | @ApiImplicitParams({ |
| | |
| | | * |
| | | * @param problem 常见问题信息 |
| | | */ |
| | | @RequiresPermissions("system_problem") |
| | | @RequiresPermissions("problem_save") |
| | | @ApiOperation(value = "新增常见问题", tags = {"后台-系统设置-常见问题管理"}) |
| | | @PostMapping(value = "/save") |
| | | public R<String> save(@RequestBody Problem problem) { |
| | |
| | | * |
| | | * @param problem 常见问题信息 |
| | | */ |
| | | @RequiresPermissions("system_problem") |
| | | @RequiresPermissions("problem_update") |
| | | @ApiOperation(value = "修改常见问题", tags = {"后台-系统设置-常见问题管理"}) |
| | | @PostMapping(value = "/update") |
| | | public R<String> update(@RequestBody Problem problem) { |
| | |
| | | * |
| | | * @param ids 常见问题多条id拼接 |
| | | */ |
| | | @RequiresPermissions("system_problem") |
| | | @RequiresPermissions("problem_delete") |
| | | @ApiOperation(value = "批量删除常见问题", tags = {"后台-系统设置-常见问题管理"}) |
| | | @GetMapping(value = "/batchDelete") |
| | | @ApiImplicitParams({ |