Browse Source

添加日志打印

tianboguang 2 years ago
parent
commit
d3108710ee

+ 1 - 1
src/main/java/com/fdkankan/contro/service/impl/SceneFileBuildServiceImpl.java

@@ -210,7 +210,7 @@ public class SceneFileBuildServiceImpl extends ServiceImpl<ISceneFileBuildMapper
             throw new BusinessException(ErrorCode.FAILURE_CODE_5047);
         }
 
-        log.info("mac:" + mac + "准备上传文件");
+        log.info("mac:{} 准备上传文件,folderName:{}", mac, folderName);
         String dataSource = scenePlusService.getDataSourceLikeUnicode("/" + folderName);
         if(StrUtil.isNotEmpty(dataSource)){
             int n = dataSource.split("/").length;