Ver a proveniência

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

master
liangkun há 3 anos
ascendente
cometimento
95e74b4783
2 ficheiros alterados com 5 adições e 3 eliminações
  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 Ver ficheiro

@@ -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 Ver ficheiro

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


Carregando…
Cancelar
Guardar