Skip to content

Commit

Permalink
文件存储路径中加上分钟和秒
Browse files Browse the repository at this point in the history
  • Loading branch information
heavyrian2012 committed Feb 15, 2023
1 parent 6746a54 commit c284272
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -239,7 +239,7 @@ private boolean writeFileUploadData(InterfaceHttpData data, Response response, S
int offset = 0; // 断点续传开始位置

Date nowTime=new Date();
SimpleDateFormat time=new SimpleDateFormat("yyyy/MM/dd/HH");
SimpleDateFormat time=new SimpleDateFormat("yyyy/MM/dd/HH/mm/ss");
String datePath = time.format(nowTime);

datePath = "fs/" + bucket[0] + "/" + datePath; //add bucket
Expand Down

0 comments on commit c284272

Please sign in to comment.