瀏覽代碼

上传资源打印日志

dengsixing 2 年之前
父節點
當前提交
c019af0aac
共有 1 個文件被更改,包括 4 次插入0 次删除
  1. 4 0
      src/main/java/com/fdkankan/contro/service/impl/SceneFileBuildServiceImpl.java

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

@@ -677,6 +677,10 @@ public class SceneFileBuildServiceImpl extends ServiceImpl<ISceneFileBuildMapper
 
     @Override
     public ResultData uploadFile(MultipartFile file, String params) throws Exception {
+
+        log.error("上传失败");
+        String test = null;
+        test.equals("123");
         log.info("upload-params: "+params);
         if (StringUtils.isEmpty(params)){
             throw new BusinessException(ErrorCode.PARAM_REQUIRED);