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