瀏覽代碼

'11'

master
daixiantong 4 年之前
父節點
當前提交
2746f9110c
共有 1 個檔案被更改,包括 3 行新增3 行删除
  1. +3
    -3
      src/main/java/com/taauav/admin/controller/TauvInspectPhotoController.java

+ 3
- 3
src/main/java/com/taauav/admin/controller/TauvInspectPhotoController.java 查看文件

@@ -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…
取消
儲存