This website works better with JavaScript.
Home
Explore
Help
Register
Sign In
bjquanjiang
/
DigitalScholl
Watch
1
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Releases
0
Wiki
Activity
Browse Source
附件上传限制100MB
黑艺新账号
ndbs
1 year ago
parent
2fc1da20e5
commit
434a4f0278
1 changed files
with
4 additions
and
0 deletions
Unified View
Diff Options
Show Stats
Download Patch File
Download Diff File
+4
-0
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/LR_SystemModule/Controllers/AnnexesController.cs
+ 4
- 0
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/LR_SystemModule/Controllers/AnnexesController.cs
View File
@@ -63,6 +63,10 @@ namespace Learun.Application.Web.Areas.LR_SystemModule.Controllers
return HttpNotFound();
return HttpNotFound();
}
}
}
}
if (chunks > 100)
{
return Fail("上传失败,文件超出可上传大小限制");
}
annexesFileIBLL.SaveChunkAnnexes(fileGuid, chunk, Filedata.InputStream);
annexesFileIBLL.SaveChunkAnnexes(fileGuid, chunk, Filedata.InputStream);
return Success("保存成功");
return Success("保存成功");
}
}
Write
Preview
Loading…
Cancel
Save