Browse Source

'11'

master
daixiantong 4 years ago
parent
commit
2746f9110c
1 changed files with 3 additions and 3 deletions
  1. +3
    -3
      src/main/java/com/taauav/admin/controller/TauvInspectPhotoController.java

+ 3
- 3
src/main/java/com/taauav/admin/controller/TauvInspectPhotoController.java View File

@@ -35,7 +35,7 @@ public class TauvInspectPhotoController extends BaseController {
/**
* 查询巡检正摄图列表
*/
// @RequiresPermissions("admin:photo:list")
@RequiresPermissions("admin:photo:list")
@GetMapping("/list")
public Response list(TauvInspectPhotoDTO inspectPhotoDTO, BaseQuery query) {
return tauvInspectPhotoService.selectPhotoPage(inspectPhotoDTO, query);
@@ -44,7 +44,7 @@ public class TauvInspectPhotoController extends BaseController {
/**
* 获取巡检正摄图详细信息
*/
// @RequiresPermissions("admin:photo:query")
@RequiresPermissions("admin:photo:query")
@GetMapping(value = "/{id}")
public Response getInfo(@PathVariable("id") Integer id) {
return response.success(tauvInspectPhotoService.getInfo(id));
@@ -62,7 +62,7 @@ public class TauvInspectPhotoController extends BaseController {
/**
* 修改巡检正摄图
*/
// @RequiresPermissions("admin:photo:edit")
@RequiresPermissions("admin:photo:edit")
@PostMapping("/edit")
public Response edit(@RequestBody TauvInspectPhoto tauvInspectPhoto) {
return tauvInspectPhotoService.editPhoto(tauvInspectPhoto);

Loading…
Cancel
Save