|
|
@@ -72,11 +72,11 @@ public class AliyunOss {
|
|
|
*/
|
|
|
public List<String> uploadDir(String bucketName, String localDir) {
|
|
|
List<String> failedList = new ArrayList<>();
|
|
|
- /*try {
|
|
|
+ try {
|
|
|
walkDir(bucketName, Path.of(localDir), failedList);
|
|
|
} catch (IOException e) {
|
|
|
e.printStackTrace();
|
|
|
- }*/
|
|
|
+ }
|
|
|
|
|
|
return failedList;
|
|
|
}
|