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