Browse Source

获取文件文件内容参数加默认值

lichunlei 7 months ago
parent
commit
3b257f63be
1 changed files with 1 additions and 1 deletions
  1. 1 1
      Model/Dto/FileDto.cs

+ 1 - 1
Model/Dto/FileDto.cs

@@ -16,7 +16,7 @@ namespace Dto
         public int fileId { get; set; }
         public int fileId { get; set; }
 
 
         //文件内容
         //文件内容
-        public string fileContent { get; set; }
+        public string fileContent { get; set; } = "";
     }
     }
 
 
     public class InitServerDto
     public class InitServerDto