修改移动端上传文件报错
This commit is contained in:
@ -102,7 +102,7 @@ public class LocalStorageServiceImpl extends BaseServiceImpl<LocalStorageMapper,
|
|||||||
file.getPath(),
|
file.getPath(),
|
||||||
type,
|
type,
|
||||||
FileUtil.getSize(multipartFile.getSize()),
|
FileUtil.getSize(multipartFile.getSize()),
|
||||||
SecurityUtils.getUsername()
|
"yshop"
|
||||||
);
|
);
|
||||||
this.save(localStorage);
|
this.save(localStorage);
|
||||||
return generator.convert(localStorage,LocalStorageDto.class);
|
return generator.convert(localStorage,LocalStorageDto.class);
|
||||||
|
Reference in New Issue
Block a user