1
duhe
2025-04-08 60873cc299ff1acd06b51b9189abdcaec42995a7
WebTM/Web.config
@@ -4,11 +4,26 @@
  http://go.microsoft.com/fwlink/?LinkId=169433
  -->
<configuration>
  <system.web>
    <compilation debug="true" targetFramework="4.5" />
    <httpRuntime targetFramework="4.5" />
  </system.web>
  <appSettings>
    <add key="Name" value="61.130.49.162:9090/WMSAPI///" />
  </appSettings>
</configuration>
   <system.web>
      <compilation debug="true" targetFramework="4.5" />
      <httpRuntime targetFramework="4.5" maxQueryStringLength="102400" />
   </system.web>
   <appSettings>
      <add key="Name" value="61.130.49.162:9090/WMSAPI///" />
   </appSettings>
   <system.webServer>
      <staticContent>
         <remove fileExtension=".grf" />
         <mimeMap fileExtension=".grf" mimeType="text/xml" />
      </staticContent>
        <handlers>
            <remove name="StaticFile" />
            <add name="StaticFile" path="*" verb="*" modules="StaticFileModule,DefaultDocumentModule" resourceType="Either" requireAccess="Read" />
        </handlers>
      <security>
         <requestFiltering>
            <requestLimits maxAllowedContentLength="10485760" maxQueryString="10485760" /> <!--设置参数内容的最大长度为10MB,默认是4MB,最大支持2GB-->
         </requestFiltering>
       </security>
   </system.webServer>
</configuration>