fuliqi
2025-02-21 64efb660b2c119c00432434c0f651f8996483f18
ycl-server/src/main/java/com/ycl/platform/controller/ImageResourceSecurityController.java
@@ -31,11 +31,10 @@
    /**
     * 查询platform列表
     */
    @PreAuthorize("@ss.hasPermi('platform:security:list')")
    @PreAuthorize("@ss.hasPermi('imageResource:security:list')")
    @GetMapping("/list")
    public TableDataInfo list(ImageResourceSecurity imageResourceSecurity)
    {
        startPage();
        List<ImageResourceSecurity> list = imageResourceSecurityService.selectImageResourceSecurityList(imageResourceSecurity);
        return getDataTable(list);
    }
@@ -43,7 +42,7 @@
    /**
     * 获取platform详细信息
     */
    @PreAuthorize("@ss.hasPermi('platform:security:query')")
    @PreAuthorize("@ss.hasPermi('imageResource:security:query')")
    @GetMapping(value = "/{id}")
    public AjaxResult getInfo(@PathVariable("id") Long id)
    {
@@ -64,7 +63,7 @@
    /**
     * 导入模板
     */
    @PreAuthorize("@ss.hasPermi('platform:security:list')")
    @PreAuthorize("@ss.hasPermi('imageResource:security:template')")
    @Log(title = "导入模板", businessType = BusinessType.IMPORT)
    @PostMapping("/importTemplate")
    public void importTemplate(HttpServletResponse response) {
@@ -74,7 +73,7 @@
    /**
     * 导入数据
     */
    @PreAuthorize("@ss.hasPermi('platform:security:list')")
    @PreAuthorize("@ss.hasPermi('imageResource:security:import')")
    @Log(title = "导入", businessType = BusinessType.IMPORT)
    @PostMapping("/importData")
    public AjaxResult importData(MultipartFile file) {