You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

349 lines
21 KiB
XML

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

<?xml version="1.0" encoding="utf-8"?>
<configuration>
<configSections>
<section name="loggingConfiguration" type="Microsoft.Practices.EnterpriseLibrary.Logging.Configuration.LoggingSettings, Microsoft.Practices.EnterpriseLibrary.Logging, Version=4.1.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" />
<section name="dataConfiguration" type="Microsoft.Practices.EnterpriseLibrary.Data.Configuration.DatabaseSettings, Microsoft.Practices.EnterpriseLibrary.Data, Version=4.1.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" />
<section name="log4net" type="log4net.Config.Log4NetConfigurationSectionHandler, log4net" />
<section name="quartz" type="System.Configuration.NameValueSectionHandler, System, Version=1.0.5000.0,Culture=neutral, PublicKeyToken=b77a5c561934e089" />
<!-- For more information on Entity Framework configuration, visit http://go.microsoft.com/fwlink/?LinkID=237468 -->
<section name="entityFramework" type="System.Data.Entity.Internal.ConfigFile.EntityFrameworkSection, EntityFramework, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" requirePermission="false" />
</configSections>
<loggingConfiguration name="Logging Application Block" tracingEnabled="true" defaultCategory="General" logWarningsWhenNoCategoriesMatch="true">
<listeners>
<add fileName="trace.log" header="----------------------------------------" footer="----------------------------------------" formatter="Text Formatter" listenerDataType="Microsoft.Practices.EnterpriseLibrary.Logging.Configuration.FlatFileTraceListenerData, Microsoft.Practices.EnterpriseLibrary.Logging, Version=4.1.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" traceOutputOptions="None" filter="All" type="Microsoft.Practices.EnterpriseLibrary.Logging.TraceListeners.FlatFileTraceListener, Microsoft.Practices.EnterpriseLibrary.Logging, Version=4.1.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" name="FlatFile TraceListener" />
</listeners>
<formatters>
<add template="Timestamp: {timestamp(local)}&#xA;Message: {message}&#xA;)}" type="Microsoft.Practices.EnterpriseLibrary.Logging.Formatters.TextFormatter, Microsoft.Practices.EnterpriseLibrary.Logging, Version=4.1.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" name="Text Formatter" />
</formatters>
<logFilters>
<add enabled="false" type="Microsoft.Practices.EnterpriseLibrary.Logging.Filters.LogEnabledFilter, Microsoft.Practices.EnterpriseLibrary.Logging, Version=4.1.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" name="LogEnabled Filter" />
</logFilters>
<categorySources>
<add switchValue="All" name="General">
<listeners>
<add name="FlatFile TraceListener" />
</listeners>
</add>
</categorySources>
<specialSources>
<allEvents switchValue="All" name="All Events" />
<notProcessed switchValue="All" name="Unprocessed Category" />
<errors switchValue="All" name="Logging Errors &amp; Warnings">
<listeners>
<add name="FlatFile TraceListener" />
</listeners>
</errors>
</specialSources>
</loggingConfiguration>
<dataConfiguration defaultDatabase="sydevzsh" />
<appSettings>
<add key="Svr1" value="127.0.0.1:11211" />
<add key="Svr2" value="127.0.0.1:11211" />
<add key="messageinterval" value="5000" />
<add key="announceinterval" value="4000" />
<add key="FTPMaxRequestLength" value="2091151" />
<add key="searchpriceurl" value="http://47.104.73.97:1636/PriceSearch/default.html?uid=[checkid]" />
<add key="isannounce" value="0" />
<add key="isabout" value="0" />
<add key="crmplatform" value="" />
<add key="crmCsDataName" value="qidedongshengdata" />
<add key="RemoteServer" value=".\MSSQLSERVER2008" />
<add key="isly" value="1" />
<!--是否陆运-->
<!--是否陆运-->
<!--微信相关的配置信息-->
<!--微信相关>微信oauth2授权接口地址-->
<add key="wxdomain" value="https://open.weixin.qq.com/connect/oauth2/authorize" />
<!--微信相关>微信获取accesstoken接口地址-->
<add key="tokendomain" value="https://api.weixin.qq.com/sns/oauth2/access_token" />
<!--微信相关>secret(应用密钥AppSecret)-->
<add key="secret" value="959916b348fd7b16ed9d4037756b7e5c" />
<!--微信相关>appid-->
<add key="appid" value="wx201e196f37400a5d" />
<!--微信相关>redirect_uri(回调地址)-->
<add key="redirect_uri" value="http://wx.shippingbox.cc/Mobile/Login/Redirect" />
<!--微信相关>response_type(返回类型)-->
<add key="response_type" value="code" />
<!--微信相关>scope(应用授权作用域)-->
<add key="scope" value="snsapi_base" />
<!--微信相关>state(重定向后的验证参数)-->
<add key="state" value="dstest" />
<!--微信相关>#wechat_redirect(直接在微信打开链接)-->
<add key="wechat_redirect" value="#wechat_redirect" />
<!--微信相关>#域名(直接在微信打开链接)-->
<add key="Domain" value="http://www.myshipping.net:8654" />
<!--微信相关>模板消息->流程待审批提醒ID-->
<add key="TMFFSPID" value="Pf6cc3evAnjp0hT-IU7cGuku5kPafXcaC1O_JPcrZx4" />
<!--微信相关>调试工具->是否启用DBLog 0:不启用 1启用-->
<add key="AllowDBLog" value="1" />
<!-- redis服务器地址 -->
<add key="RedisServerAddr" value="192.168.0.80" />
<add key="RedisServerDB" value="2" />
<!-- nas目录 -->
<add key="NasDir" value="" />
<!-- rabbitmq地址动作日志 -->
<add key="ActionLogMQUri" value="amqp://djy_action:123qwe@47.104.207.5:12567/djy.action.test" />
<add key="GetCodeUrl" value="http://60.209.125.238:35101/user/code" />
<add key="GoRouteUrl" value="http://60.209.125.238:35102/#/getway?code={0}&amp;webid={1}" />
<add key="LoginUrl" value="http://localhost:8090/login.aspx" />
<!-- 报关模块离职调用url地址 -->
<add key="BaoguanQuitUrl" value="http://60.209.125.238:35102/api/Baoguan/userquit" />
<!-- 用户离职提醒 -->
<add key="UserLeaveDingtalkUrl" value="https://oapi.dingtalk.com/robot/send?access_token=22b460107ecbc289ce5f1465fddc900500bcf155303eeeb1aa4ab49e5f180a62" />
<!-- CustVGM接口使用新开发逻辑处理1表示启用新逻辑空或其他值表示不启用 -->
<add key="CustVgmSendUseNew" value="1"/>
<add key="IdentServerUrl" value="http://djy-identity.myshipping.net"/>
<!-- 舱单直发开发调试开关1开启0关闭开启后舱单报文只生成,不真正发出去) -->
<add key="CangDanDirectDebugSwitch" value="1"></add>
</appSettings>
<connectionStrings>
<!-- 正式 -->
<!--<add name="DongShengDB" connectionString="Data Source=47.104.73.97,6761;Initial Catalog=DsPingTai;Persist Security Info=True;User ID=sa;Password=QDdjy#2020*" providerName="System.Data.SqlClient" />
<add name="sydevzsh" connectionString="Data Source=47.104.73.97,6761;Initial Catalog=DsPingTai;Persist Security Info=True;User ID=sa;Password=QDdjy#2020*" providerName="System.Data.SqlClient" />-->
<!--测试 DsPingTaitest -->
<!--<add name="DongShengDB" connectionString="Data Source=47.104.73.97,8573;Initial Catalog=DsPingTaitest;Persist Security Info=True;User ID=sa;Password=QDdjy#2020*" providerName="System.Data.SqlClient" />
<add name="sydevzsh" connectionString="Data Source=47.104.73.97,8573;Initial Catalog=DsPingTaitest;Persist Security Info=True;User ID=sa;Password=QDdjy#2020*" providerName="System.Data.SqlClient" />-->
<!--测试 MYSHIPPINGTEST8 -->
<!--<add name="DongShengDB" connectionString="Data Source=47.104.73.97,8572;Initial Catalog=MYSHIPPINGTEST8;Persist Security Info=True;User ID=sa;Password=QDdjy#2020*" providerName="System.Data.SqlClient" />
<add name="sydevzsh" connectionString="Data Source=47.104.73.97,8572;Initial Catalog=MYSHIPPINGTEST8;Persist Security Info=True;User ID=sa;Password=QDdjy#2020*" providerName="System.Data.SqlClient" />-->
<!--本地开发 -->
<!--<add name="DongShengDB" connectionString="Data Source=60.209.125.238,28000;Initial Catalog=DevDsPingTai;Persist Security Info=True;User ID=dev;Password=dev123" providerName="System.Data.SqlClient" />-->
<!--<add name="sydevzsh" connectionString="Data Source=60.209.125.238,28000;Initial Catalog=DevDsPingTai;Persist Security Info=True;User ID=dev;Password=dev123" providerName="System.Data.SqlClient" />-->
<add name="ConnCommonDB" connectionString="Data Source=60.209.125.238,28000;Initial Catalog=DevCommonDB;Persist Security Info=True;User ID=dev;Password=dev123" providerName="System.Data.SqlClient" />
<!--测试库 -->
<add name="DongShengDB" connectionString="Data Source=60.209.125.238,28000;Initial Catalog=DevDsPingTai;Persist Security Info=True;User ID=dev;Password=dev123" providerName="System.Data.SqlClient" />
<add name="sydevzsh" connectionString="Data Source=60.209.125.238,28000;Initial Catalog=DevDsPingTai;Persist Security Info=True;User ID=dev;Password=dev123" providerName="System.Data.SqlClient" />
<!--测试 server3 -->
<!--<add name="DongShengDB" connectionString="Server=60.209.125.238,1666;Initial Catalog=MYSHIPPINGTEST8;User ID=sa;Password=QDdjy2021*;" providerName="System.Data.SqlClient" />
<add name="sydevzsh" connectionString="Server=60.209.125.238,1666;Database=MYSHIPPINGTEST8;User ID=sa;Password=QDdjy2021*;" providerName="System.Data.SqlClient" />-->
<!--<add name="cangdandata" connectionString="Data Source=47.104.73.97,8572;Initial Catalog=cangdandata;Persist Security Info=True;User ID=sa;Password=QDdjy#2020*" providerName="System.Data.SqlClient" />-->
<!--POST-->
<!--<add name="POST" connectionString="Data Source=47.104.73.97,1433;Initial Catalog=FilePost;Persist Security Info=True;User ID=sa;Password=Ds140101" providerName="System.Data.SqlClient" />-->
<!--<add name="MYSHIPPINGTESTEntities" connectionString="metadata=res://*/Interface.YZ.Model1.csdl|res://*/Interface.YZ.Model1.ssdl|res://*/Interface.YZ.Model1.msl;provider=System.Data.SqlClient;provider connection string=&quot;data source=47.104.73.97,1433;initial catalog=DsPingTai;persist security info=True;user id=sa;password=Ds140101;MultipleActiveResultSets=True;App=EntityFramework&quot;" providerName="System.Data.EntityClient" />-->
</connectionStrings>
<system.web>
<!--
maxRequestLength指示 ASP.NET 支持的最大文件上载大小。
该限制可用于防止因用户将大量文件传递到该服务器而导致的拒绝服务攻击。
指定的大小以 KB 为单位。默认值为 4096 KB (4 MB)。
参数最大是20911512M左右大小。
-->
<!--
这里maxQueryStringLength值范围是(0~2097151)这里取最大,确保万无一失。
但是在项目中它会提示“不允许使用maxQueryStringLength”特性估计是和asp.net 版本有关。
貌似asp.net 4.0 才有maxQueryStringLength特性。
即使提示“不允许使用maxQueryStringLength”特性但在服务器上仍然可用。
-->
<httpRuntime maxRequestLength="2091151" targetFramework="4.0" executionTimeout="720000" requestValidationMode="2.0" maxQueryStringLength="2097151" />
<!--
设置 compilation debug="true" 可将调试符号插入
已编译的页面中。但由于这会
影响性能,因此只在开发过程中将此值
设置为 true。
-->
<compilation debug="true" targetFramework="4.0">
<assemblies>
<add assembly="System.Design, Version=4.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A" />
<add assembly="System.Security, Version=4.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A" />
<add assembly="System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089" />
<add assembly="System.Core, Version=3.5.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089" />
<add assembly="System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
<add assembly="System.Web.Abstractions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
<add assembly="System.Web.Routing, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
<add assembly="System.Web.Mvc, Version=2.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL" />
<add assembly="System.Data.DataSetExtensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089" />
<add assembly="System.Xml.Linq, Version=3.5.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089" />
<add assembly="System.Data.Linq, Version=3.5.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089" />
<add assembly="System.Runtime, Version=4.0.0.0 , Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
</assemblies>
</compilation>
<!--
通过 <authentication> 节可以配置 ASP.NET 用来
识别进入用户的
安全身份验证模式。
-->
<authentication mode="Windows" />
<customErrors mode="RemoteOnly" defaultRedirect="~/Error/FriendError.aspx" />
<!--
如果在执行请求的过程中出现未处理的错误,
则通过 <customErrors> 节可以配置相应的处理步骤。具体说来,
开发人员通过该节可以配置
要显示的 html 错误页
以代替错误堆栈跟踪。
<customErrors mode="RemoteOnly" defaultRedirect="GenericErrorPage.htm">
<error statusCode="403" redirect="NoAccess.htm"/>
<error statusCode="404" redirect="FileNotFound.htm"/>
</customErrors>
-->
<pages validateRequest="false" controlRenderingCompatibilityVersion="3.5" clientIDMode="AutoID" pageParserFilterType="System.Web.Mvc.ViewTypeParserFilter, System.Web.Mvc, Version=2.0.0.0, Culture=neutral,&#xD;&#xA;PublicKeyToken=31BF3856AD364E35" pageBaseType="System.Web.Mvc.ViewPage, System.Web.Mvc, Version=2.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" userControlBaseType="System.Web.Mvc.ViewUserControl, System.Web.Mvc, Version=2.0.0.0, Culture=neutral,&#xD;&#xA;PublicKeyToken=31BF3856AD364E35">
<controls>
<add tagPrefix="asp" namespace="System.Web.UI" assembly="System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
<add tagPrefix="asp" namespace="System.Web.UI.WebControls" assembly="System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
</controls>
<namespaces>
<add namespace="System.Web.Mvc" />
<add namespace="System.Web.Mvc.Ajax" />
<add namespace="System.Web.Mvc.Html" />
<add namespace="System.Web.Routing" />
<!--<add namespace="System.Linq"/>-->
<add namespace="System.Collections.Generic" />
</namespaces>
</pages>
<httpHandlers>
<!--
<add verb="*" path="*.ashx" type="AjaxPro.AjaxHandlerFactory, AjaxPro.2" />
-->
<add verb="*" path="*.mvc" validate="false" type="System.Web.Mvc.MvcHttpHandler, System.Web.Mvc, Version=2.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL" />
</httpHandlers>
<httpModules>
<add name="ScriptModule" type="System.Web.Handlers.ScriptModule, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
<add name="UrlRoutingModule" type="System.Web.Routing.UrlRoutingModule, System.Web, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
</httpModules>
<sessionState cookieless="UseCookies" mode="StateServer" stateConnectionString="tcpip=127.0.0.1:42424" timeout="300" />
</system.web>
<!--
在 Internet 信息服务 7.0 下运行 ASP.NET AJAX 需要 system.webServer
节。对早期版本的 IIS 来说则不需要此节。
-->
<system.webServer>
<validation validateIntegratedModeConfiguration="false" />
<staticContent>
<remove fileExtension=".xml" />
<remove fileExtension=".txt" />
<mimeMap fileExtension=".txt" mimeType="application/octet-stream" />
<mimeMap fileExtension=".xml" mimeType="application/octet-stream" />
<remove fileExtension=".json" />
<mimeMap fileExtension=".json" mimeType="application/json" />
</staticContent>
<handlers>
<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" />
</handlers>
</system.webServer>
<system.serviceModel>
<bindings>
<basicHttpBinding>
<binding name="DyxtServiceSoap" closeTimeout="00:01:00" openTimeout="00:01:00" receiveTimeout="00:10:00" sendTimeout="00:01:00" allowCookies="false" bypassProxyOnLocal="false" hostNameComparisonMode="StrongWildcard" maxBufferSize="65536" maxBufferPoolSize="524288" maxReceivedMessageSize="65536" messageEncoding="Text" textEncoding="utf-8" transferMode="Buffered" useDefaultWebProxy="true">
<readerQuotas maxDepth="32" maxStringContentLength="8192" maxArrayLength="16384" maxBytesPerRead="4096" maxNameTableCharCount="16384" />
<security mode="None">
<transport clientCredentialType="None" proxyCredentialType="None" realm="" />
<message clientCredentialType="UserName" algorithmSuite="Default" />
</security>
</binding>
</basicHttpBinding>
</bindings>
<client>
<endpoint address="http://www.yydy.com/GacoWebService/DyxtService.asmx" binding="basicHttpBinding" bindingConfiguration="DyxtServiceSoap" contract="DYxtService.DyxtServiceSoap" name="DyxtServiceSoap" />
</client>
</system.serviceModel>
<log4net>
<root>
<level value="ALL" />
<appender-ref ref="SysAppender" />
</root>
<logger name="WebLogger">
<level value="ERROR" />
</logger>
<appender name="SysAppender" type="log4net.Appender.RollingFileAppender,log4net">
<param name="File" value="C:\\APP_LOG\" />
<param name="AppendToFile" value="true" />
<param name="RollingStyle" value="Date" />
<param name="DatePattern" value="&quot;Logs_&quot;yyyyMMdd&quot;.txt&quot;" />
<param name="StaticLogFileName" value="false" />
<layout type="log4net.Layout.PatternLayout,log4net">
<param name="ConversionPattern" value="%d [%t] %-5p %c - %m%n" />
<param name="Header" value="&#xD;&#xA;----------------------header--------------------------&#xD;&#xA;" />
<param name="Footer" value="&#xD;&#xA;----------------------footer--------------------------&#xD;&#xA;" />
</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>
<runtime>
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
<dependentAssembly>
<assemblyIdentity name="Newtonsoft.Json" publicKeyToken="30ad4fe6b2a6aeed" culture="neutral" />
<bindingRedirect oldVersion="0.0.0.0-12.0.0.0" newVersion="12.0.0.0" />
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="AspNetPager" publicKeyToken="fb0a0fe055d40fd4" culture="neutral" />
<bindingRedirect oldVersion="0.0.0.0-7.0.2.0" newVersion="7.0.2.0" />
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="ICSharpCode.SharpZipLib" publicKeyToken="1b03e6acf1164f73" culture="neutral" />
<bindingRedirect oldVersion="0.0.0.0-0.86.0.518" newVersion="0.84.0.0" />
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="EntityFramework" publicKeyToken="b77a5c561934e089" culture="neutral" />
<bindingRedirect oldVersion="0.0.0.0-5.0.0.0" newVersion="5.0.0.0" />
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="BouncyCastle.Crypto" publicKeyToken="0e99375e54769942" culture="neutral" />
<bindingRedirect oldVersion="0.0.0.0-1.8.6.0" newVersion="1.8.6.0" />
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="System.Buffers" publicKeyToken="cc7b13ffcd2ddd51" culture="neutral" />
<bindingRedirect oldVersion="0.0.0.0-4.0.2.0" newVersion="4.0.2.0" />
</dependentAssembly>
</assemblyBinding>
</runtime>
<quartz>
<add key="quartz.scheduler.instanceName" value="ServerScheduler" />
<add key="quartz.threadPool.type" value="Quartz.Simpl.SimpleThreadPool, Quartz" />
<add key="quartz.threadPool.threadCount" value="10" />
<add key="quartz.threadPool.threadPriority" value="2" />
<add key="quartz.plugin.xml.type" value="Quartz.Plugin.Xml.XMLSchedulingDataProcessorPlugin, Quartz" />
<add key="quartz.plugin.xml.fileNames" value="~/quartz_jobs.xml" />
<add key="quartz.jobStore.misfireThreshold" value="30000" />
<add key="quartz.jobStore.type" value="Quartz.Simpl.RAMJobStore, Quartz" />
</quartz>
<system.net>
<connectionManagement>
<add address="*" maxconnection="50" />
</connectionManagement>
</system.net>
<entityFramework>
<providers>
<provider invariantName="System.Data.SqlClient" type="System.Data.Entity.SqlServer.SqlProviderServices, EntityFramework.SqlServer" />
</providers>
</entityFramework>
</configuration>