Skip to content

Commit

Permalink
refactor-fileServer-切换为同步save方法
Browse files Browse the repository at this point in the history
  • Loading branch information
Ning19230223 committed Oct 25, 2024
1 parent 493e309 commit d8cf142
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ public String save(File file) {
}

// 异步save方法
public String save(File file, String assignName) {
public String save1(File file, String assignName) {
String saveId = generateBsyUid();
String saveFileNameUid = suffixFileNameWithN(saveId);
String saveFileContextUid = suffixFileNameWithO(saveId);
Expand All @@ -123,7 +123,7 @@ public String save(File file, String assignName) {
}

// 同步save方法
public String save1(File file, String assignName) {
public String save(File file, String assignName) {
String saveId = generateBsyUid();
String saveFileNameUid = suffixFileNameWithN(saveId);
String saveFileContextUid = suffixFileNameWithO(saveId);
Expand Down

0 comments on commit d8cf142

Please sign in to comment.