Commit cc72aa91 authored by yanzg's avatar yanzg

文件处理

parent 2e0522e0
......@@ -82,9 +82,11 @@ public class YzgFileServiceImpl implements YzgFileService {
* @return
*/
private String getTempFolder(String folder) {
String ret = String.format("%s/%s/%s/", folder,
DateHelper.getDateTimeString("yyyy-MM", new Date()),
DateHelper.getToday());
String ret = String.format("%s/%s/%s/%s/", folder,
DateHelper.getDateTimeString("yyyy", new Date()),
DateHelper.getDateTimeString("MM", new Date()),
DateHelper.getDateTimeString("dd", new Date())
);
return ret;
}
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment