修复linux上传图片路径问题
This commit is contained in:
parent
09bf05a1d7
commit
acfe2e2d11
|
|
@ -36,7 +36,7 @@ public class DefaultFileProxyFactory implements IFileProxy {
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public String path(File f) {
|
public String path(File f) {
|
||||||
StringBuilder newFileName = new StringBuilder()
|
StringBuilder newFileName = new StringBuilder().append(File.separator)
|
||||||
.append(getFileDir(Cst.me().getUploadRealPath()))
|
.append(getFileDir(Cst.me().getUploadRealPath()))
|
||||||
.append(System.currentTimeMillis())
|
.append(System.currentTimeMillis())
|
||||||
.append(getFileExt(f.getName()));
|
.append(getFileExt(f.getName()));
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user