yujian
2019-01-14 b42e88afc77b0d40ea8bbad87df6cc22d03414e1
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();