下载附件压缩包

master
xiaochanghai 12 months ago
parent adceccac1f
commit d4f7855c0f
  1. 2
      Tiobon.Core.Services/Ghre/Ghre_CourseWareServices.cs

@ -157,7 +157,7 @@ public class Ghre_CourseWareServices : BaseServices<Ghre_CourseWare, Ghre_Course
if (files.Length > 1) if (files.Length > 1)
CreateZip($"{webRootPath}{outPath}", files); CreateZip($"{webRootPath}{outPath}", files);
else else
outPath = files[0]; outPath = attachments[0].RelativePath;
return ServiceResult<string>.OprateSuccess(null, outPath); return ServiceResult<string>.OprateSuccess(null, outPath);
} }
else else

Loading…
Cancel
Save