瀏覽代碼

ExportGroupByModule接口添加团组名称

yuanrf 9 月之前
父節點
當前提交
7c708a7492
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. 2 2
      OASystem/OASystem.Api/Controllers/GroupsController.cs

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

@@ -3883,8 +3883,8 @@ namespace OASystem.API.Controllers
             {
                 var byts = io.ConvertZipStream(Zips);
                 var path = "\\GroupModelFiles\\" + groupInfo.TeamName;
-                io.ByteToFile(byts, AppSettingsHelper.Get("GrpFileBasePath") + $"{path}\\{key.Name}_.Zip");
-                jw = JsonView(true, "success", new { url = AppSettingsHelper.Get("GrpFileBaseUrl") + $"{AppSettingsHelper.Get("GrpFileFtpPath")}{path}\\{key.Name}_.zip" });
+                io.ByteToFile(byts, AppSettingsHelper.Get("GrpFileBasePath") + $"{path}\\{groupInfo.TeamName}_{key.Name}_.Zip");
+                jw = JsonView(true, "success", new { url = AppSettingsHelper.Get("GrpFileBaseUrl") + $"{AppSettingsHelper.Get("GrpFileFtpPath")}{path}\\{groupInfo.TeamName}_{key.Name}_.Zip" });
             }
             else
             {