疯狂的狮子li
2022-10-28 4c8dc500c79ecf94c61deb14f5a9eaf9de9512bc
ruoyi-admin/src/main/java/com/ruoyi/web/controller/system/SysOssController.java
@@ -125,7 +125,7 @@
    @DeleteMapping("/{ossIds}")
    public R<Void> remove(@NotEmpty(message = "主键不能为空")
                          @PathVariable Long[] ossIds) {
        return toAjax(iSysOssService.deleteWithValidByIds(Arrays.asList(ossIds), true) ? 1 : 0);
        return toAjax(iSysOssService.deleteWithValidByIds(Arrays.asList(ossIds), true));
    }
}