yuanrf 11 hours ago
parent
commit
d51f6105b6
1 changed files with 3 additions and 2 deletions
  1. 3 2
      OASystem/OASystem.Api/Controllers/GroupsController.cs

+ 3 - 2
OASystem/OASystem.Api/Controllers/GroupsController.cs

@@ -4169,7 +4169,7 @@ FROM
                         return Ok(JsonView(false, "公司信息添加失败!"));
                     }
                 }
-                else 
+                else
                 {
                     // 存在信息为空则更新公司地址信息
                     if (string.IsNullOrEmpty(compnayInfo.Address))
@@ -13867,8 +13867,9 @@ FROM
             System.IO.File.WriteAllBytes(outputPath, wordBytes);
 
             //WordExporter.MarkdownToWord(chatResult, outputPath);
+            string url = outputPath.Replace(AppSettingsHelper.Get("GrpFileBasePath"), AppSettingsHelper.Get("GrpFileBaseUrl") + AppSettingsHelper.Get("GrpFileFtpPath"));
 
-            return Ok(JsonView(true, "请示文件生成成功!", outputPath));
+            return Ok(JsonView(true, "请示文件生成成功!", url));
         }