268 lines
13 KiB
Plaintext
Raw Normal View History

2025-04-24 18:31:27 +08:00
<?xml version="1.0" encoding="utf-8"?>
<!--
For more information on how to configure your ASP.NET application, please visit
https://go.microsoft.com/fwlink/?LinkId=301879
-->
<configuration>
<configSections>
<section name="log4net" type="log4net.Config.Log4NetConfigurationSectionHandler, log4net" />
</configSections>
<!--微信支付证书的根目录,这里暂时是给调度系统使用-->
<connectionStrings>
<!--测试主库的链接地址-->
<!--<add name="MasterConn" connectionString="Data Source=120.78.137.110; Initial Catalog=erpcloudbusiness_lxm; User ID=sa;Password=lxm567%^&amp;; Connect Timeout=120; MultipleActiveResultSets=True;App=bfy" providerName="System.Data.SqlClient" />-->
<!--<add name="MasterConn" connectionString="Data Source=47.119.182.45; Initial Catalog=lxm; User ID=sa;Password=gzObxl@Grw4^fy$0B[IEcXPk1o5u-9q7*LtJR6; Connect Timeout=120; MultipleActiveResultSets=True;App=bfy" providerName="System.Data.SqlClient" />-->
<!--新测试环境数据库 -->
<add name="MasterConn" connectionString="Data Source=183.63.73.186,5001; Initial Catalog=erpcloudbusiness_lxm; User ID=sa;Password=Lxm@1234; Connect Timeout=920; MultipleActiveResultSets=True;App=lxm" providerName="System.Data.SqlClient" />
<!--正式主库的链接地址-->
</connectionStrings>
<appSettings>
<!--主键生成的最后一个数字-->
<add key="IdLastNum" value="5" />
<!--后台系统的API测试环境接口地址-->
<add key="LxmAdminApiUrl" value="http://120.78.137.110:9460" />
<!--后台系统的API正式环境接口地址-->
<!--<add key="LxmAdminApiUrl" value="https://admin-binf-api.wxbinf.com" />-->
<!--mysql数据库的API测试环境接口地址-->
<add key="LxmReportApiUrl" value="http://120.78.137.110:2343" />
<add key="WebSocketIpAddress" value="ws://0.0.0.0:8181"/>
<!--测试redis 47.119.182.45 内网:172.18.113.58-->
<add key="RedisAddress" value="172.18.113.58,6379,password=lxm_redis_2019" />
<!--正式RedisAddress-->
<!--
<add key="RedisAddress" value="r-wz9dc93da65daca4.redis.rds.aliyuncs.com:6379,password=Loonxi1LXM" />-->
<!--微信API接口地址-->
<add key="BFYApiUrl" value="http://127.0.0.1:8095/" />
<!--微信API接口地址-->
<add key="WeixinApiUrl" value="https://testbfy-api.wxbinf.com" />
<!--当前域名-->
<add key="Domain" value="https://bfyh5.wxbinf.com" />
<!--测试环境缓存前缀-->
<add key="CachePrefix" value="bfy:dev:" />
<!--正式环境缓存前缀-->
<!--<add key="CachePrefix" value="lxm:prod:" />-->
<!--小程序门店端的测试AppId-->
<add key="AppId" value="wxc3e0260e38c44182" />
<!--小程序门店的正式AppId-->
<!--<add key="AppId" value="wx1627229a29db68b3"/>-->
<!--小程序门店端的测试AppSecret-->
<add key="AppSecret" value="ea0a817c5dd781f0549ddfd39b1fc60e" />
<!--小程序门店端的正式AppId-->
<!--<add key="AppSecret" value="84a957472318765b00092c06eabf3ed9" />-->
<!--会员端小程序的测试AppId-->
<add key="MemberAppId" value="wx54a66a304f37bc29" />
<!--会员端小程序的正式AppId-->
<!--<add key="MemberAppId" value="wx28f095ca78e27699" />-->
<!--会员端小程序的测试AppSecret-->
<add key="MemberAppSecret" value="6d3cd573aee48ba3de47ee402e9e4c3f" />
<!--会员端小程序的正式AppSecret-->
<!--<add key="MemberAppSecret" value="b7fc7cc4e4cdcae60d9746002efce845" />-->
<!--测试环境公众号的APPID-->
<add key="WeAppid" value="wx060dc7febcb04645"/>
<!--正式环境公众号的APPID-->
<!--<add key="WeAppid" value="wx8f9d5963d23f43f6"/>-->
<!--正式环境公众号的AppSecret-->
<!--<add key="WeAppSecret" value="6e8f90951051db0803bfe7f24cb03c44" />-->
<!--测试环境公众号的AppSecret-->
<add key="WeAppSecret" value="788c81bd1eecaaa681360a296413d45d" />
<add key="NCApiUrl" value="http://120.78.137.110:1111" />
<add key="NCApiToken" value="eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJleHAiOjYxNTcyMzE4NzU2LCJsb2dpbiI6eyJFbnZpcm9ubWVudCI6ImRldiIsIlN5c3RlbUNvZGUiOjF9fQ.I1olpmZKF0Gzk886tdH6Tc32yyT5YDkkgwOKlXEPV0o" />
<!--钉钉通知机器人-->
<add key="DingDingApiUrl" value="https://oapi.dingtalk.com/robot/send?access_token=6b520d99d7b7c5ed3988cb2310176b4fc12641ca2139efd3d88a47f6ee04972f" />
<add key="DingDingTxt" value="冰芙云测试环境WebSocket:"/>
<!--99女神卡卡套ID-->
<add key="NymphCardId" value="7FACAB5B-E985-0321-88ED-39F08D5815E6" />
<!--小程序码存放地址-->
<add key="FilesPatch" value="D:\publish\BFY-API\Api\App_File\" />
<!--分裂式门票活动-->
<add key="Activity0" value="SmartStore/分裂式门票.png" />
<add key="Activity4" value="SmartStore/分裂式门票.png" />
<add key="Activity5" value="SmartStore/分裂式门票.png" />
<!--99女神卡活动-->
<add key="Activity2" value="SmartStore/99女神卡海报.png" />
<!--jwtkey-->
<add key="JwtKey" value="4ea0180d8f8c1ce11343e9104c682bc4" />
<!--110服务器值为:http://wuxingpic110.wxbinf.com-->
<add key="LocalPicDomain" value="https://ztmall-pic.guoko.com" />
<!-- 七牛参数配置begin -->
<!--
<add key="QiniuAccessKey" value="n5hhPJsHhGUhXP_HKe6FayyuUnqegM-Z-93aLOF9" />
<add key="QiniuSecretKey" value="c2TvYY8SbXLWf6yZwS_SXXoXXqPzCjeoibQOMMK5" />
<add key="QiniuBucket" value="wuxingmall" />
<add key="QiniuDomainName" value="http://plgu3n7u2.bkt.clouddn.com" />
-->
<!-- 七牛参数配置end -->
<!-- 七牛参数配置begin -->
<add key="QiniuAccessKey" value="n5hhPJsHhGUhXP_HKe6FayyuUnqegM-Z-93aLOF9" />
<add key="QiniuSecretKey" value="c2TvYY8SbXLWf6yZwS_SXXoXXqPzCjeoibQOMMK5" />
<add key="QiniuBucket" value="binf" />
<add key="QiniuDomainName" value="https://wuxingcdn.guoko.com/" />
<!-- 七牛参数配置end -->
<!--测试环境后台系统的API地址-->
<add key="LxmAdminApiUrl" value="http://120.78.137.110:9461" />
<!--正式环境后台系统的API地址-->
<!--<add key="LxmAdminApiUrl" value="http://120.78.93.13:8099" />-->
<add key="SysConfig" value="{&quot;MerchantId&quot;: &quot;00000000-0000-0000-0000-000000000009&quot;,&quot;Issuer&quot;: &quot;lxzyl&quot;,&quot;Secret&quot;: &quot;4ea0180d8f8c1ce11343e9104c682bc4&quot;,&quot;SendVerifyCode&quot;:&quot;http://120.78.93.13:30000/InterfaceAPI/sendVerifyCode&quot;, &quot;SendSms&quot;: &quot;http://120.78.93.13:30000/InterfaceAPI/sendSmsMessage&quot;, &quot;ApiTokenUrl&quot;: &quot;http://localhost:8888/oauth2/token&quot;,
&quot;IsDev&quot;: true, &quot;QiNiuCloudApiUrl&quot;: &quot;http://oss-api.loonxierp.com&quot;, &quot;CmpPayCallbackDomain&quot;: &quot;http://bfy-api.wxbinf.com:8095&quot;}" />
<add key="WechatConfig" value="{&quot;ApiAuthDomain&quot;: &quot;http://binfapi-test.wxbinf.com&quot;,&quot;Scope&quot;: &quot;snsapi_base&quot;,&quot;WechatPublic&quot;: &quot;流行美专业测试&quot;}" />
<add key="SmsTemplateConfig" value="{&quot;ConsumptionSuccess&quot;:&quot;亲爱的#Member#会员,您本次消费共#Amount#元,获得#Integral#积分;请关注【#WechatPublic#】公众号查看详情。&quot;, &quot;ServiceFinish&quot;:&quot;亲爱的#Member#会员,您的服务项目已经完成;请关注【#WechatPublic#】公众号,给予此次服务进行评价。&quot;,
&quot;RechangeSuccess&quot;: &quot;亲爱的会员,您已成功充值#RechargeAmount#元;储值余额#Balance#元;请关注【#WechatPublic#】公众号,登录后查看储值明细。&quot;, &quot;PreOrderSuccess&quot;: &quot;亲爱的会员,您在#Month#月#Day#日#Shop#的服务项目已经预约成功,关注【#WechatPublic#】公众号,查看预约详情。&quot;
}" />
</appSettings>
<!--
有关 web.config 更改的说明,请参见 http://go.microsoft.com/fwlink/?LinkId=235367。
可在 <httpRuntime> 标记上设置以下特性。
<system.Web>
<httpRuntime targetFramework="4.5" />
</system.Web>
-->
<system.web>
<!--<authentication mode="None" />
<compilation debug="true" targetFramework="4.5" />
<httpRuntime targetFramework="4.5" />
<authentication mode="None" />-->
<compilation debug="true" targetFramework="4.6.1" />
<httpRuntime targetFramework="4.6.1" />
<customErrors mode="Off" />
<httpModules>
<add name="ApplicationInsightsWebTracking" type="Microsoft.ApplicationInsights.Web.ApplicationInsightsHttpModule, Microsoft.AI.Web" />
</httpModules>
</system.web>
<system.webServer>
<modules>
<remove name="FormsAuthentication" />
<remove name="ApplicationInsightsWebTracking" />
<add name="ApplicationInsightsWebTracking" type="Microsoft.ApplicationInsights.Web.ApplicationInsightsHttpModule, Microsoft.AI.Web" preCondition="managedHandler" />
</modules>
<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>
<validation validateIntegratedModeConfiguration="false" />
</system.webServer>
<log4net>
<appender name="RollingLogFileAppender" type="log4net.Appender.RollingFileAppender">
<!--日志路径-->
<param name="File" value="App_Log\" />
<!--是否是向文件中追加日志-->
<param name="AppendToFile" value="true" />
<!--log保留天数-->
<param name="MaxSizeRollBackups" value="30" />
<!--日志文件名是否是固定不变的-->
<param name="StaticLogFileName" value="false" />
<!--日志文件名格式为:2008-08-31.log-->
<param name="DatePattern" value="yyyy-MM-dd&quot;.log&quot;" />
<!--日志根据日期滚动-->
<param name="RollingStyle" value="Date" />
<layout type="log4net.Layout.PatternLayout">
<param name="ConversionPattern" value="%d [%t] %-5p %c - %m%n %logger" />
</layout>
</appender>
<logger name="MyCode.Project.Logger">
<level value="ERROR" />
<level value="INFO" />
<appender-ref ref="RollingLogFileAppender" />
</logger>
<root>
<!--(高) OFF > FATAL > ERROR > WARN > INFO > DEBUG > ALL (低) -->
<level value="ALL" />
<appender-ref ref="RollingLogFileAppender" />
</root>
</log4net>
<runtime>
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
<dependentAssembly>
<assemblyIdentity name="Newtonsoft.Json" culture="neutral" publicKeyToken="30ad4fe6b2a6aeed" />
<bindingRedirect oldVersion="0.0.0.0-12.0.0.0" newVersion="12.0.0.0" />
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="System.Web.Optimization" publicKeyToken="31bf3856ad364e35" />
<bindingRedirect oldVersion="1.0.0.0-1.1.0.0" newVersion="1.1.0.0" />
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="WebGrease" publicKeyToken="31bf3856ad364e35" />
<bindingRedirect oldVersion="0.0.0.0-1.5.2.14234" newVersion="1.5.2.14234" />
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="System.Web.Helpers" publicKeyToken="31bf3856ad364e35" />
<bindingRedirect oldVersion="1.0.0.0-3.0.0.0" newVersion="3.0.0.0" />
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="System.Web.Mvc" publicKeyToken="31bf3856ad364e35" />
<bindingRedirect oldVersion="0.0.0.0-5.2.3.0" newVersion="5.2.3.0" />
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="System.Web.WebPages" publicKeyToken="31bf3856ad364e35" />
<bindingRedirect oldVersion="1.0.0.0-3.0.0.0" newVersion="3.0.0.0" />
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="Common.Logging.Core" publicKeyToken="af08829b84f0328e" culture="neutral" />
<bindingRedirect oldVersion="0.0.0.0-3.3.1.0" newVersion="3.3.1.0" />
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="Common.Logging" publicKeyToken="af08829b84f0328e" culture="neutral" />
<bindingRedirect oldVersion="0.0.0.0-3.3.1.0" newVersion="3.3.1.0" />
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="log4net" publicKeyToken="669e0ddf0bb1aa2a" culture="neutral" />
<bindingRedirect oldVersion="0.0.0.0-2.0.8.0" newVersion="2.0.8.0" />
</dependentAssembly>
<dependentAssembly>
<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" />
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="System.Buffers" publicKeyToken="cc7b13ffcd2ddd51" culture="neutral" />
<bindingRedirect oldVersion="0.0.0.0-4.0.3.0" newVersion="4.0.3.0" />
</dependentAssembly>
</assemblyBinding>
</runtime>
<system.codedom>
<compilers>
<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=\&quot;Web\&quot; /optionInfer+" />
</compilers>
</system.codedom>
<startup>
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.6.1" />
</startup>
</configuration>