浏览代码

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

master
liangkun 3 年前
父节点
当前提交
95e74b4783
共有 2 个文件被更改,包括 5 次插入3 次删除
  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 查看文件

@@ -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 查看文件

@@ -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" />


正在加载...
取消
保存