Commit 10def013 authored by 王业雄's avatar 王业雄

fix

parent 606b70ba
......@@ -258,7 +258,7 @@ public class VccServiceImpl implements IVccService {
@Override
public Map<String,String> fileUpload(MultipartFile file) throws Exception {
String name = file.getName();
String name = file.getOriginalFilename();
log.info("fileUpload | filename={}",name);
String substring = name.substring(name.lastIndexOf(".") + 1);
String baseUrl = fastDfsService.uploadFile(file.getBytes(), substring);
......
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