2025-07-18 10:14:31 +08:00
|
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
2025-07-04 09:50:02 +08:00
|
|
|
|
<!--
|
|
|
|
|
|
For more information on how to configure your ASP.NET application, please visit
|
|
|
|
|
|
https://go.microsoft.com/fwlink/?LinkId=301879
|
|
|
|
|
|
-->
|
|
|
|
|
|
<configuration>
|
|
|
|
|
|
<configSections>
|
|
|
|
|
|
|
2025-07-18 10:14:31 +08:00
|
|
|
|
<section name="log4net" type="log4net.Config.Log4NetConfigurationSectionHandler, log4net"/>
|
2025-07-04 09:50:02 +08:00
|
|
|
|
|
|
|
|
|
|
</configSections>
|
|
|
|
|
|
|
|
|
|
|
|
<!--微信支付证书的根目录,这里暂时是给调度系统使用-->
|
|
|
|
|
|
|
|
|
|
|
|
<connectionStrings>
|
|
|
|
|
|
|
2025-07-18 10:14:31 +08:00
|
|
|
|
<add name="WMSConn" connectionString="Data Source=127.0.0.1; Initial Catalog=xietong; User ID=sa;Password=1; Connect Timeout=120; MultipleActiveResultSets=True;App=JiKeYun2" providerName="System.Data.SqlClient"/>
|
|
|
|
|
|
<add name="YunTongConn" connectionString="Data Source=127.0.0.1; Initial Catalog=xietong; User ID=sa;Password=1; Connect Timeout=120; MultipleActiveResultSets=True;App=JiKeYun1" providerName="System.Data.SqlClient"/>
|
2025-07-04 09:50:02 +08:00
|
|
|
|
|
|
|
|
|
|
</connectionStrings>
|
|
|
|
|
|
<appSettings>
|
|
|
|
|
|
<!--解决swagger出错问题-->
|
2025-07-18 10:14:31 +08:00
|
|
|
|
<add key="aspnet:UseHostHeaderForRequestUrl" value="true"/>
|
2025-07-04 09:50:02 +08:00
|
|
|
|
<!--当前环境,1:生产环境 0:开发环境-->
|
2025-07-18 10:14:31 +08:00
|
|
|
|
<add key="Env" value="0"/>
|
2025-07-04 09:50:02 +08:00
|
|
|
|
<!--因公司IP时常变化,先用13跳转-->
|
2025-07-18 10:14:31 +08:00
|
|
|
|
<add key="RedisAddress" value="19VhOco9ayRaH41syZnWYn2S46x3FcKIjYKgr6K3L/tu7vmlJvhB0CKrIBfMVl1Y"/>
|
2025-07-04 09:50:02 +08:00
|
|
|
|
<!--缓存前缀-->
|
2025-07-18 10:14:31 +08:00
|
|
|
|
<add key="CachePrefix" value="lxm-report:dev:"/>
|
2025-07-04 09:50:02 +08:00
|
|
|
|
<!--jwtkey-->
|
2025-07-18 10:14:31 +08:00
|
|
|
|
<add key="JwtKey" value="4ea0180d8f8c1ce11343e9104c682bc4"/>
|
2025-07-04 09:50:02 +08:00
|
|
|
|
<!--是否输出Sql命令0:不输出 1:输出-->
|
2025-07-18 10:14:31 +08:00
|
|
|
|
<add key="OutputSql" value="0"/>
|
2025-07-04 09:50:02 +08:00
|
|
|
|
<!--是否输出请求日志-->
|
2025-07-18 10:14:31 +08:00
|
|
|
|
<add key="OutputRequstLog" value="1"/>
|
2025-07-04 09:50:02 +08:00
|
|
|
|
<!--本地上传的存放路径-->
|
2025-07-18 10:14:31 +08:00
|
|
|
|
<add key="UploadFolder" value="D:\"/>
|
2025-07-04 09:50:02 +08:00
|
|
|
|
<!--取消owin启动-->
|
2025-07-18 10:14:31 +08:00
|
|
|
|
<add key="owin:AutomaticAppStartup" value="false"/>
|
2025-07-04 09:50:02 +08:00
|
|
|
|
<!--钉钉通知机器人-->
|
2025-07-18 10:14:31 +08:00
|
|
|
|
<add key="DingDingApiUrl" value=""/>
|
2025-07-04 09:50:02 +08:00
|
|
|
|
|
|
|
|
|
|
<!--区域层增加的前缀路径-->
|
2025-07-18 10:14:31 +08:00
|
|
|
|
<add key="AreaUrlPrePath" value=""/>
|
2025-07-04 09:50:02 +08:00
|
|
|
|
|
|
|
|
|
|
<!--生产环境D:\publish\lxm-report-api\App_File\-->
|
|
|
|
|
|
<!--服务器文件保存的路径,这里调度用,如果是webapi则不需要用这个-->
|
2025-07-18 10:14:31 +08:00
|
|
|
|
<add key="AppFilePath" value="D:\publish\LxmReportApi\api\App_File\"/>
|
2025-07-04 09:50:02 +08:00
|
|
|
|
<!--<add key="AppFilePath" value="D:\App_File\" />-->
|
|
|
|
|
|
|
|
|
|
|
|
<!--Socket的URL,13生产服务器配置:ws://172.18.166.162:8282/-->
|
|
|
|
|
|
<!--Socket的URL,110测试服务器配置:ws://172.18.243.207:9798/-->
|
2025-07-18 10:14:31 +08:00
|
|
|
|
<add key="WebSocketUrl" value="ws://127.0.0.1:9798/"/>
|
2025-07-04 09:50:02 +08:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</appSettings>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<!--
|
|
|
|
|
|
有关 web.config 更改的说明,请参见 http://go.microsoft.com/fwlink/?LinkId=235367。
|
|
|
|
|
|
|
|
|
|
|
|
可在 <httpRuntime> 标记上设置以下特性。
|
|
|
|
|
|
<system.Web>
|
|
|
|
|
|
<httpRuntime targetFramework="4.5" />
|
|
|
|
|
|
</system.Web>
|
|
|
|
|
|
-->
|
|
|
|
|
|
<system.web>
|
2025-07-18 10:14:31 +08:00
|
|
|
|
<authentication mode="None"/>
|
|
|
|
|
|
<compilation debug="true" targetFramework="4.5"/>
|
|
|
|
|
|
<httpRuntime targetFramework="4.5"/>
|
2025-07-04 09:50:02 +08:00
|
|
|
|
<httpModules>
|
2025-07-18 10:14:31 +08:00
|
|
|
|
<add name="ApplicationInsightsWebTracking" type="Microsoft.ApplicationInsights.Web.ApplicationInsightsHttpModule, Microsoft.AI.Web"/>
|
2025-07-04 09:50:02 +08:00
|
|
|
|
</httpModules>
|
|
|
|
|
|
</system.web>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<system.webServer>
|
|
|
|
|
|
<modules>
|
2025-07-18 10:14:31 +08:00
|
|
|
|
<remove name="FormsAuthentication"/>
|
|
|
|
|
|
<remove name="ApplicationInsightsWebTracking"/>
|
|
|
|
|
|
<add name="ApplicationInsightsWebTracking" type="Microsoft.ApplicationInsights.Web.ApplicationInsightsHttpModule, Microsoft.AI.Web" preCondition="managedHandler"/>
|
2025-07-04 09:50:02 +08:00
|
|
|
|
</modules>
|
|
|
|
|
|
<handlers>
|
2025-07-18 10:14:31 +08:00
|
|
|
|
<remove name="ExtensionlessUrlHandler-Integrated-4.0"/>
|
|
|
|
|
|
<remove name="OPTIONSVerbHandler"/>
|
|
|
|
|
|
<remove name="TRACEVerbHandler"/>
|
|
|
|
|
|
<add name="ExtensionlessUrlHandler-Integrated-4.0" path="*." verb="*" type="System.Web.Handlers.TransferRequestHandler" preCondition="integratedMode,runtimeVersionv4.0"/>
|
2025-07-04 09:50:02 +08:00
|
|
|
|
</handlers>
|
2025-07-18 10:14:31 +08:00
|
|
|
|
<validation validateIntegratedModeConfiguration="false"/>
|
2025-07-04 09:50:02 +08:00
|
|
|
|
</system.webServer>
|
|
|
|
|
|
|
|
|
|
|
|
<log4net>
|
|
|
|
|
|
<appender name="RollingLogFileAppender" type="log4net.Appender.RollingFileAppender">
|
|
|
|
|
|
<!--日志路径-->
|
2025-07-18 10:14:31 +08:00
|
|
|
|
<param name="File" value="App_Log\Error\"/>
|
2025-07-04 09:50:02 +08:00
|
|
|
|
<!--是否是向文件中追加日志-->
|
2025-07-18 10:14:31 +08:00
|
|
|
|
<param name="AppendToFile" value="true"/>
|
2025-07-04 09:50:02 +08:00
|
|
|
|
<!--log保留天数-->
|
2025-07-18 10:14:31 +08:00
|
|
|
|
<param name="MaxSizeRollBackups" value="30"/>
|
2025-07-04 09:50:02 +08:00
|
|
|
|
<!--日志文件名是否是固定不变的-->
|
2025-07-18 10:14:31 +08:00
|
|
|
|
<param name="StaticLogFileName" value="false"/>
|
2025-07-04 09:50:02 +08:00
|
|
|
|
<!--日志文件名格式为:2008-08-31.log-->
|
2025-07-18 10:14:31 +08:00
|
|
|
|
<param name="DatePattern" value="yyyy-MM-dd".log""/>
|
2025-07-04 09:50:02 +08:00
|
|
|
|
<!--日志根据日期滚动-->
|
2025-07-18 10:14:31 +08:00
|
|
|
|
<param name="RollingStyle" value="Date"/>
|
2025-07-04 09:50:02 +08:00
|
|
|
|
<layout type="log4net.Layout.PatternLayout">
|
2025-07-18 10:14:31 +08:00
|
|
|
|
<param name="ConversionPattern" value="%d [%t] %-5p %c - %m%n %logger"/>
|
2025-07-04 09:50:02 +08:00
|
|
|
|
</layout>
|
|
|
|
|
|
<filter type="log4net.Filter.LevelRangeFilter">
|
2025-07-18 10:14:31 +08:00
|
|
|
|
<levelMin value="ERROR"/>
|
|
|
|
|
|
<levelMax value="ERROR"/>
|
2025-07-04 09:50:02 +08:00
|
|
|
|
</filter>
|
|
|
|
|
|
</appender>
|
|
|
|
|
|
|
|
|
|
|
|
<appender name="InfoLogFileAppender" type="log4net.Appender.RollingFileAppender">
|
|
|
|
|
|
<!--日志路径-->
|
2025-07-18 10:14:31 +08:00
|
|
|
|
<param name="File" value="App_Log\Info\"/>
|
2025-07-04 09:50:02 +08:00
|
|
|
|
<!--是否是向文件中追加日志-->
|
2025-07-18 10:14:31 +08:00
|
|
|
|
<param name="AppendToFile" value="true"/>
|
2025-07-04 09:50:02 +08:00
|
|
|
|
<!--log保留天数-->
|
2025-07-18 10:14:31 +08:00
|
|
|
|
<param name="MaxSizeRollBackups" value="30"/>
|
2025-07-04 09:50:02 +08:00
|
|
|
|
<!--日志文件名是否是固定不变的-->
|
2025-07-18 10:14:31 +08:00
|
|
|
|
<param name="StaticLogFileName" value="false"/>
|
2025-07-04 09:50:02 +08:00
|
|
|
|
<!--日志文件名格式为:2008-08-31.log-->
|
2025-07-18 10:14:31 +08:00
|
|
|
|
<param name="DatePattern" value="yyyy-MM-dd".log""/>
|
2025-07-04 09:50:02 +08:00
|
|
|
|
<!--日志根据日期滚动-->
|
2025-07-18 10:14:31 +08:00
|
|
|
|
<param name="RollingStyle" value="Date"/>
|
2025-07-04 09:50:02 +08:00
|
|
|
|
<layout type="log4net.Layout.PatternLayout">
|
2025-07-18 10:14:31 +08:00
|
|
|
|
<param name="ConversionPattern" value="%d [%t] %-5p %c - %m%n %logger"/>
|
2025-07-04 09:50:02 +08:00
|
|
|
|
</layout>
|
|
|
|
|
|
<filter type="log4net.Filter.LevelRangeFilter">
|
2025-07-18 10:14:31 +08:00
|
|
|
|
<levelMin value="INFO"/>
|
|
|
|
|
|
<levelMax value="INFO"/>
|
2025-07-04 09:50:02 +08:00
|
|
|
|
</filter>
|
|
|
|
|
|
</appender>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<root>
|
|
|
|
|
|
<!--(高) OFF > FATAL > ERROR > WARN > INFO > DEBUG > ALL (低)-->
|
2025-07-18 10:14:31 +08:00
|
|
|
|
<level value="ALL"/>
|
|
|
|
|
|
<appender-ref ref="InfoLogFileAppender"/>
|
|
|
|
|
|
<appender-ref ref="RollingLogFileAppender"/>
|
2025-07-04 09:50:02 +08:00
|
|
|
|
</root>
|
|
|
|
|
|
</log4net>
|
|
|
|
|
|
|
|
|
|
|
|
<runtime>
|
|
|
|
|
|
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
|
|
|
|
|
|
<dependentAssembly>
|
2025-07-18 10:14:31 +08:00
|
|
|
|
<assemblyIdentity name="Newtonsoft.Json" culture="neutral" publicKeyToken="30ad4fe6b2a6aeed"/>
|
|
|
|
|
|
<bindingRedirect oldVersion="0.0.0.0-12.0.0.0" newVersion="12.0.0.0"/>
|
2025-07-04 09:50:02 +08:00
|
|
|
|
</dependentAssembly>
|
|
|
|
|
|
<dependentAssembly>
|
2025-07-18 10:14:31 +08:00
|
|
|
|
<assemblyIdentity name="System.Web.Optimization" publicKeyToken="31bf3856ad364e35"/>
|
|
|
|
|
|
<bindingRedirect oldVersion="1.0.0.0-1.1.0.0" newVersion="1.1.0.0"/>
|
2025-07-04 09:50:02 +08:00
|
|
|
|
</dependentAssembly>
|
|
|
|
|
|
<dependentAssembly>
|
2025-07-18 10:14:31 +08:00
|
|
|
|
<assemblyIdentity name="WebGrease" publicKeyToken="31bf3856ad364e35"/>
|
|
|
|
|
|
<bindingRedirect oldVersion="0.0.0.0-1.5.2.14234" newVersion="1.5.2.14234"/>
|
2025-07-04 09:50:02 +08:00
|
|
|
|
</dependentAssembly>
|
|
|
|
|
|
<dependentAssembly>
|
2025-07-18 10:14:31 +08:00
|
|
|
|
<assemblyIdentity name="System.Web.Helpers" publicKeyToken="31bf3856ad364e35"/>
|
|
|
|
|
|
<bindingRedirect oldVersion="1.0.0.0-3.0.0.0" newVersion="3.0.0.0"/>
|
2025-07-04 09:50:02 +08:00
|
|
|
|
</dependentAssembly>
|
|
|
|
|
|
<dependentAssembly>
|
2025-07-18 10:14:31 +08:00
|
|
|
|
<assemblyIdentity name="System.Web.Mvc" publicKeyToken="31bf3856ad364e35"/>
|
|
|
|
|
|
<bindingRedirect oldVersion="0.0.0.0-5.2.3.0" newVersion="5.2.3.0"/>
|
2025-07-04 09:50:02 +08:00
|
|
|
|
</dependentAssembly>
|
|
|
|
|
|
<dependentAssembly>
|
2025-07-18 10:14:31 +08:00
|
|
|
|
<assemblyIdentity name="System.Web.WebPages" publicKeyToken="31bf3856ad364e35"/>
|
|
|
|
|
|
<bindingRedirect oldVersion="1.0.0.0-3.0.0.0" newVersion="3.0.0.0"/>
|
2025-07-04 09:50:02 +08:00
|
|
|
|
</dependentAssembly>
|
|
|
|
|
|
<dependentAssembly>
|
2025-07-18 10:14:31 +08:00
|
|
|
|
<assemblyIdentity name="Common.Logging.Core" publicKeyToken="af08829b84f0328e" culture="neutral"/>
|
|
|
|
|
|
<bindingRedirect oldVersion="0.0.0.0-3.3.1.0" newVersion="3.3.1.0"/>
|
2025-07-04 09:50:02 +08:00
|
|
|
|
</dependentAssembly>
|
|
|
|
|
|
<dependentAssembly>
|
2025-07-18 10:14:31 +08:00
|
|
|
|
<assemblyIdentity name="Common.Logging" publicKeyToken="af08829b84f0328e" culture="neutral"/>
|
|
|
|
|
|
<bindingRedirect oldVersion="0.0.0.0-3.3.1.0" newVersion="3.3.1.0"/>
|
2025-07-04 09:50:02 +08:00
|
|
|
|
</dependentAssembly>
|
|
|
|
|
|
<dependentAssembly>
|
2025-07-18 10:14:31 +08:00
|
|
|
|
<assemblyIdentity name="log4net" publicKeyToken="669e0ddf0bb1aa2a" culture="neutral"/>
|
|
|
|
|
|
<bindingRedirect oldVersion="0.0.0.0-2.0.8.0" newVersion="2.0.8.0"/>
|
2025-07-04 09:50:02 +08:00
|
|
|
|
</dependentAssembly>
|
|
|
|
|
|
|
|
|
|
|
|
<dependentAssembly>
|
2025-07-18 10:14:31 +08:00
|
|
|
|
<assemblyIdentity name="System.Runtime.InteropServices.RuntimeInformation" publicKeyToken="b03f5f7f11d50a3a" culture="neutral"/>
|
|
|
|
|
|
<bindingRedirect oldVersion="0.0.0.0-4.0.0.0" newVersion="4.0.0.0"/>
|
2025-07-04 09:50:02 +08:00
|
|
|
|
</dependentAssembly>
|
|
|
|
|
|
<dependentAssembly>
|
2025-07-18 10:14:31 +08:00
|
|
|
|
<assemblyIdentity name="System.Buffers" publicKeyToken="cc7b13ffcd2ddd51" culture="neutral"/>
|
|
|
|
|
|
<bindingRedirect oldVersion="0.0.0.0-4.0.3.0" newVersion="4.0.3.0"/>
|
2025-07-04 09:50:02 +08:00
|
|
|
|
</dependentAssembly>
|
|
|
|
|
|
<dependentAssembly>
|
2025-07-18 10:14:31 +08:00
|
|
|
|
<assemblyIdentity name="System.Runtime.CompilerServices.Unsafe" publicKeyToken="b03f5f7f11d50a3a" culture="neutral"/>
|
|
|
|
|
|
<bindingRedirect oldVersion="0.0.0.0-4.0.6.0" newVersion="4.0.6.0"/>
|
2025-07-04 09:50:02 +08:00
|
|
|
|
</dependentAssembly>
|
|
|
|
|
|
</assemblyBinding>
|
|
|
|
|
|
</runtime>
|
|
|
|
|
|
|
|
|
|
|
|
<system.codedom>
|
|
|
|
|
|
<compilers>
|
2025-07-18 10:14:31 +08:00
|
|
|
|
<compiler language="c#;cs;csharp" extension=".cs" type="Microsoft.CodeDom.Providers.DotNetCompilerPlatform.CSharpCodeProvider, Microsoft.CodeDom.Providers.DotNetCompilerPlatform, Version=1.0.3.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" warningLevel="4" compilerOptions="/langversion:6 /nowarn:1659;1699;1701"/>
|
|
|
|
|
|
<compiler language="vb;vbs;visualbasic;vbscript" extension=".vb" type="Microsoft.CodeDom.Providers.DotNetCompilerPlatform.VBCodeProvider, Microsoft.CodeDom.Providers.DotNetCompilerPlatform, Version=1.0.3.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" warningLevel="4" compilerOptions="/langversion:14 /nowarn:41008 /define:_MYTYPE=\"Web\" /optionInfer+"/>
|
2025-07-04 09:50:02 +08:00
|
|
|
|
</compilers>
|
|
|
|
|
|
</system.codedom>
|
2025-07-18 10:14:31 +08:00
|
|
|
|
<startup><supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.8"/></startup></configuration>
|