FastDfs 添加日志

yun-zuoyi
wei.peng 6 years ago
parent 0d8bf92b80
commit 0384180d4d

@ -141,6 +141,8 @@ public class SysFileServiceImpl implements ISysFileService {
String[] fileAbsolutePath = dfsClient.upload(fastDFSFile);
// 保存到系统文件表中
LOGGER.info(" dfsClient ====>> " + dfsClient);
LOGGER.info(" fileAbsolutePath ====>> " + fileAbsolutePath);
String filePath = dfsClient.getHostUi() + "/" + fileAbsolutePath[0] + "/" + fileAbsolutePath[1];
SysDictionary dictionary = sysDictionaryRDao.getByProperty(new String[]{"parentCodeRdd", "dictionaryValue"},
new Object[]{BaseConstWords.DICTIONARY_FILE_TYPE, fastDFSFile.getExt()});

Loading…
Cancel
Save