admin
2019-01-15 3b46a3cf795784fd9e4ca8f168da4c75ad871ba7
fanli/src/main/java/com/yeshi/fanli/controller/admin/UploadController.java
@@ -294,7 +294,7 @@
         String contentType = file.getContentType();
         String type = contentType.substring(contentType.indexOf("/") + 1);
         // 上传文件相对位置
         String fileUrl="/img/admin/test/" + UUID.randomUUID().toString().replace("-", "") + "." + type;
         String fileUrl="/img/admin/" + UUID.randomUUID().toString().replace("-", "") + "." + type;
         
         String uploadPath = COSManager.getInstance().uploadFile(inputStream, fileUrl).getUrl();