@@ -58,7 +58,7 @@ public class UploadToOssUtil {
log.info("upload-to-oss:file-path:{},oss-path:{},filePath不存在!",filePath,key1);
return;
}
- fileStorageTemplate.uploadFile(filePath,key1);
+ fileStorageTemplate.uploadFile(key1,filePath);
} catch (Exception e) {
e.printStackTrace();