zqy
4 天以前 8430d77a62ed5b1cbc1f635ed44ba2a9b5ca5a64
ruoyi-admin/src/main/java/com/ruoyi/web/controller/zhang/CosController.java
@@ -30,7 +30,10 @@
        }
        System.out.println("dfsdgd");
        HashMap<String,String> map = new HashMap<>();
        map.put("key",key);
        int dotIndex = key.lastIndexOf('/');
        map.put("key", key.substring(dotIndex + 1));
        map.put("path",key);
        return AjaxResult.success(map);
    }
@@ -86,6 +89,6 @@
            throw new RuntimeException(e);
        }
        return AjaxResult.success("文件上传成功");
        return AjaxResult.success("文件删除成功");
    }
}