Browse Source

课程资源上传大小类型增加

master
liangkun 3 years ago
parent
commit
95e74b4783
2 changed files with 5 additions and 3 deletions
  1. +1
    -1
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/LR_OAModule/Views/ResourceFile/UploadifyForm.js
  2. +4
    -2
      Learun.Framework.Ultimate V7/Learun.Application.Web/Web.config

+ 1
- 1
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/LR_OAModule/Views/ResourceFile/UploadifyForm.js View File

@@ -31,7 +31,7 @@ var bootstrap = function ($, learun) {
dnd: '#lr_form_file_queue',
paste: 'document.body',
accept: {
extensions: "jpg,gif,png,bmp,jpeg,doc,docx,ppt,pptx,xls,xlsx,pdf,txt,rar,zip,csv"
extensions: "*"
},
multiple: true,
// 上传参数


+ 4
- 2
Learun.Framework.Ultimate V7/Learun.Application.Web/Web.config View File

@@ -44,11 +44,13 @@
</namespaces>
</pages>
<!--最大请求长度,单位为KB(千字节),默认为4M,设置为1G,上限为2G -->
<httpRuntime maxRequestLength="1048576" executionTimeout="3600" />
<httpRuntime maxRequestLength="2048000" executionTimeout="3600" />
</system.web>
<system.webServer>
<security>
<requestFiltering allowDoubleEscaping="true" />
<requestFiltering allowDoubleEscaping="true">
<requestLimits maxAllowedContentLength ="2048000000"></requestLimits>
</requestFiltering>
</security>
<validation validateIntegratedModeConfiguration="false" />
<modules runAllManagedModulesForAllRequests="true" />


Loading…
Cancel
Save