瀏覽代碼

'报告详情、图像资料详情权限删除'

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

+ 1
- 1
src/main/java/com/taauav/admin/controller/TauvInspectFileController.java 查看文件

@@ -99,7 +99,7 @@ public class TauvInspectFileController {
* @return
*/
@GetMapping("view")
@RequiresPermissions(controllerName +":"+ PermissionConstants.VIEW_PERMISSION)
// @RequiresPermissions(controllerName +":"+ PermissionConstants.VIEW_PERMISSION)
public Response view(@RequestParam("id") Integer id) {
return inspectFileService.view(id);
}

+ 1
- 1
src/main/java/com/taauav/admin/controller/TauvReportController.java 查看文件

@@ -89,7 +89,7 @@ public class TauvReportController extends BaseController {
* @return
*/
@GetMapping("detail")
@RequiresPermissions("report:" + PermissionConstants.VIEW_PERMISSION)
// @RequiresPermissions("report:" + PermissionConstants.VIEW_PERMISSION)
public Response detail(@RequestParam("id") Integer id) {
Map<String, Object> data = iTauvReportService.getDetailById(id, "detail");
return response.success(data);

Loading…
取消
儲存