107 lines
5.3 KiB
XML
Executable File
107 lines
5.3 KiB
XML
Executable File
<?xml version="1.0"?>
|
|
<configuration>
|
|
<configSections>
|
|
<section name="log4net" type="log4net.Config.Log4NetConfigurationSectionHandler, log4net"/>
|
|
</configSections>
|
|
<log4net>
|
|
<!-- OFF, FATAL, ERROR, WARN, INFO, DEBUG, ALL -->
|
|
<!-- Set root logger level to ERROR and its appenders -->
|
|
<root>
|
|
<level value="ALL" />
|
|
<appender-ref ref="SysAppender" />
|
|
</root>
|
|
<!-- Print only messages of level DEBUG or above in the packages -->
|
|
<logger name="WebLogger">
|
|
<level value="DEBUG" />
|
|
</logger>
|
|
<appender name="SysAppender" type="log4net.Appender.RollingFileAppender,log4net">
|
|
<param name="File" value="Log/LogInfo/" />
|
|
<param name="AppendToFile" value="true" />
|
|
<param name="RollingStyle" value="Date" />
|
|
<param name="DatePattern" value=""Logs_"yyyyMMdd".txt"" />
|
|
<param name="StaticLogFileName" value="false" />
|
|
<layout type="log4net.Layout.PatternLayout,log4net">
|
|
<param name="ConversionPattern" value="%d [%t] %-5p %c - %m%n" />
|
|
</layout>
|
|
</appender>
|
|
<appender name="consoleApp" type="log4net.Appender.ConsoleAppender,log4net">
|
|
<layout type="log4net.Layout.PatternLayout,log4net">
|
|
<param name="ConversionPattern" value="%d [%t] %-5p %c - %m%n" />
|
|
</layout>
|
|
</appender>
|
|
</log4net>
|
|
<connectionStrings>
|
|
<add name="GXWMS" connectionString="server=10.10.10.101;database=GXWMS;uid=sa;pwd=Gx@20240111;Pooling=true;" providerName="System.Data.SqlClient" />
|
|
<add name="RndSuiteDev" connectionString="server=10.1.102.3;database=RndSuiteDev;uid=summer_chu;pwd=P@ssw0rd;Pooling=true;" providerName="System.Data.SqlClient" />
|
|
<add name="MESConnection" connectionString="server=10.10.10.107;database=cloudpivot;user=root;password=GSpa11word" providerName="System.Data.SqlClient" />
|
|
<add name="OAConnection" connectionString="server=39.100.72.102;database=ecology;user=ecology;password=Z!BYT+jSDDyYHMdX+qFSLzJCYXW" providerName="System.Data.SqlClient" />
|
|
<add name="DefaultConnection" providerName="System.Data.SqlClient" connectionString="Data Source=(LocalDb)\v11.0;Initial Catalog=aspnet-BulletinBoard-20190513083738;Integrated Security=SSPI;AttachDBFilename=|DataDirectory|\aspnet-BulletinBoard-20190513083738.mdf" />
|
|
</connectionStrings>
|
|
<appSettings>
|
|
<!-- 金蝶云星空 WebApi 服务地址 -->
|
|
<add key="KingdeeApiUrl" value="http://localhost/k3cloud/"/>
|
|
<!-- MES 看板自动刷新间隔(秒),默认 600 秒 = 10 分钟;设为 0 关闭自动刷新 -->
|
|
<add key="MesAutoRefreshSeconds" value="600"/>
|
|
<!-- 研发订单审批与转单考核时效阈值(天):> AuditLeadtimeHigh 为高/超高,<= AuditLeadtimeLow 为低,两者之间为中 -->
|
|
<add key="AuditLeadtimeHigh" value="5"/>
|
|
<add key="AuditLeadtimeLow" value="2"/>
|
|
<!-- 研发订单到料考核时效阈值(天):> AuditReceiveHigh 为高,<= AuditReceiveLow 为低,两者之间为中;未收料为超高 -->
|
|
<add key="AuditReceiveHigh" value="4"/>
|
|
<add key="AuditReceiveLow" value="2"/>
|
|
</appSettings>
|
|
|
|
<system.web>
|
|
<compilation debug="true" targetFramework="4.7.2"/>
|
|
<httpRuntime targetFramework="4.7.2"/>
|
|
<customErrors mode="Off"/>
|
|
</system.web>
|
|
<system.webServer>
|
|
<validation validateIntegratedModeConfiguration="false"/>
|
|
<modules runAllManagedModulesForAllRequests="true">
|
|
<remove name="WebDAVModule"/>
|
|
</modules>
|
|
<handlers>
|
|
<remove name="ExtensionlessUrlHandler-Integrated-4.0"/>
|
|
<remove name="OPTIONSVerbHandler"/>
|
|
<remove name="TRACEVerbHandler"/>
|
|
<remove name="WebDAV"/>
|
|
<remove name="ExtensionlessUrlHandler-ISAPI-4.0_32bit"/>
|
|
<remove name="ExtensionlessUrlHandler-ISAPI-4.0_64bit"/>
|
|
<add name="ExtensionlessUrlHandler-Integrated-4.0" path="*." verb="GET,HEAD,POST,DEBUG,PUT,DELETE,PATCH,OPTIONS" type="System.Web.Handlers.TransferRequestHandler" preCondition="integratedMode,runtimeVersionv4.0"/>
|
|
</handlers>
|
|
<security>
|
|
<requestFiltering>
|
|
<verbs>
|
|
<add verb="GET" allowed="true"/>
|
|
<add verb="POST" allowed="true"/>
|
|
<add verb="PUT" allowed="true"/>
|
|
<add verb="DELETE" allowed="true"/>
|
|
<add verb="OPTIONS" allowed="true"/>
|
|
</verbs>
|
|
</requestFiltering>
|
|
</security>
|
|
<directoryBrowse enabled="false"/>
|
|
<defaultDocument>
|
|
<files>
|
|
<clear />
|
|
<add value="login.html" />
|
|
</files>
|
|
</defaultDocument>
|
|
</system.webServer>
|
|
<runtime>
|
|
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
|
|
<dependentAssembly>
|
|
<assemblyIdentity name="Newtonsoft.Json" publicKeyToken="30ad4fe6b2a6aeed" culture="neutral"/>
|
|
<bindingRedirect oldVersion="0.0.0.0-13.0.0.0" newVersion="13.0.0.0"/>
|
|
</dependentAssembly>
|
|
<dependentAssembly>
|
|
<assemblyIdentity name="System.Web.Http" publicKeyToken="31bf3856ad364e35" culture="neutral"/>
|
|
<bindingRedirect oldVersion="0.0.0.0-5.2.7.0" newVersion="5.2.7.0"/>
|
|
</dependentAssembly>
|
|
<dependentAssembly>
|
|
<assemblyIdentity name="System.Net.Http.Formatting" publicKeyToken="31bf3856ad364e35" culture="neutral"/>
|
|
<bindingRedirect oldVersion="0.0.0.0-5.2.7.0" newVersion="5.2.7.0"/>
|
|
</dependentAssembly>
|
|
</assemblyBinding>
|
|
</runtime>
|
|
</configuration> |