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