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