@@ -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); | |||
} |
@@ -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); |