zhengbingbing преди 6 години
родител
ревизия
6ca754b259

+ 1 - 1
codegit/CallCenterApi/CallCenterApi.Interface/CallCenterApi.Interface/Controllers/knowledge/KnowledgeController.cs

@@ -509,7 +509,7 @@ namespace CallCenterApi.Interface.Controllers.knowledge
509 509
                         model_T_Sys_Accessories.F_AddTime = DateTime.Now;//上传时间
510 510
                         model_T_Sys_Accessories.F_FileName = filePathName;//附件名称
511 511
                         model_T_Sys_Accessories.F_FileType = type;//附件类型
512
-                        model_T_Sys_Accessories.F_FileUrl = (filePathName).Replace('\\', '/');//附件地址
512
+                        model_T_Sys_Accessories.F_FileUrl = (savedir+filePathName).Replace('\\', '/');//附件地址
513 513
                         model_T_Sys_Accessories.F_Size = size;
514 514
                         model_T_Sys_Accessories.F_UserCode = userCode;//上传人  
515 515
                         model_T_Sys_Accessories.F_OriName = oriname;

+ 1 - 0
codegit/CallCenterCommon/CallCenter.Utility/CallCenter.Utility.csproj

@@ -80,6 +80,7 @@
80 80
     <Compile Include="SaltAndHashHelper.cs" />
81 81
     <Compile Include="SysInformationHelper.cs" />
82 82
     <Compile Include="Time\DateTimeConvert.cs" />
83
+    <Compile Include="uploadFile.cs" />
83 84
     <Compile Include="VerifyCode\VerifyCode.cs" />
84 85
     <Compile Include="Web\TreeGrid\TreeGrid.cs" />
85 86
     <Compile Include="Web\TreeGrid\TreeGridModel.cs" />