app.config 4.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <configuration>
  3. <configSections>
  4. <!-- For more information on Entity Framework configuration, visit http://go.microsoft.com/fwlink/?LinkID=237468 -->
  5. <section name="entityFramework" type="System.Data.Entity.Internal.ConfigFile.EntityFrameworkSection, EntityFramework, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" requirePermission="false" />
  6. <section name="fileUploadConfig" type="EMIS.ViewModel.FileUploadConfig, EMIS.ViewModel" />
  7. </configSections>
  8. <connectionStrings>
  9. <add name="EMISNewContext" providerName="System.Data.SqlClient" connectionString="Data Source=.;Initial Catalog=GDCX.Exam;Persist Security Info=True;User ID=sa;Password=sqlGDCXxy2020!@#$;Pooling=True;Max Pool Size=10000;" />
  10. <add name="HRServiceContextContainer" providerName="System.Data.SqlClient" connectionString="Data Source=.;Initial Catalog=Emis.HRService;Persist Security Info=True;User ID=sa;Password=sqlGDCXxy2020!@#$;Pooling=True;Max Pool Size=10000;" />
  11. <add name="EMISNewLogContext" providerName="System.Data.SqlClient" connectionString="Data Source=.;Initial Catalog=GDCX.ExamLog;Persist Security Info=True;User ID=sa;Password=sqlGDCXxy2020!@#$;Pooling=True;Max Pool Size=10000;" />
  12. </connectionStrings>
  13. <runtime>
  14. <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
  15. <dependentAssembly>
  16. <assemblyIdentity name="Newtonsoft.Json" publicKeyToken="30ad4fe6b2a6aeed" culture="neutral" />
  17. <bindingRedirect oldVersion="0.0.0.0-12.0.0.0" newVersion="12.0.0.0" />
  18. </dependentAssembly>
  19. <dependentAssembly>
  20. <assemblyIdentity name="Autofac" publicKeyToken="17863af14b0044da" culture="neutral" />
  21. <bindingRedirect oldVersion="0.0.0.0-3.5.0.0" newVersion="3.5.0.0" />
  22. </dependentAssembly>
  23. <dependentAssembly>
  24. <assemblyIdentity name="System.Web.Mvc" publicKeyToken="31bf3856ad364e35" culture="neutral" />
  25. <bindingRedirect oldVersion="0.0.0.0-4.0.0.0" newVersion="4.0.0.0" />
  26. </dependentAssembly>
  27. <dependentAssembly>
  28. <assemblyIdentity name="System.Web.WebPages" publicKeyToken="31bf3856ad364e35" culture="neutral" />
  29. <bindingRedirect oldVersion="0.0.0.0-2.0.0.0" newVersion="2.0.0.0" />
  30. </dependentAssembly>
  31. <dependentAssembly>
  32. <assemblyIdentity name="System.Net.Http" publicKeyToken="b03f5f7f11d50a3a" culture="neutral" />
  33. <bindingRedirect oldVersion="0.0.0.0-4.0.0.0" newVersion="4.0.0.0" />
  34. </dependentAssembly>
  35. <dependentAssembly>
  36. <assemblyIdentity name="System.Web.Razor" publicKeyToken="31bf3856ad364e35" culture="neutral" />
  37. <bindingRedirect oldVersion="0.0.0.0-3.0.0.0" newVersion="3.0.0.0" />
  38. </dependentAssembly>
  39. <dependentAssembly>
  40. <assemblyIdentity name="System.Web.WebPages.Razor" publicKeyToken="31bf3856ad364e35" culture="neutral" />
  41. <bindingRedirect oldVersion="0.0.0.0-3.0.0.0" newVersion="3.0.0.0" />
  42. </dependentAssembly>
  43. <dependentAssembly>
  44. <assemblyIdentity name="System.Web.Helpers" publicKeyToken="31bf3856ad364e35" culture="neutral" />
  45. <bindingRedirect oldVersion="0.0.0.0-3.0.0.0" newVersion="3.0.0.0" />
  46. </dependentAssembly>
  47. </assemblyBinding>
  48. </runtime>
  49. <entityFramework>
  50. <defaultConnectionFactory type="System.Data.Entity.Infrastructure.LocalDbConnectionFactory, EntityFramework">
  51. <parameters>
  52. <parameter value="v11.0" />
  53. </parameters>
  54. </defaultConnectionFactory>
  55. <providers>
  56. <provider invariantName="System.Data.SqlClient" type="System.Data.Entity.SqlServer.SqlProviderServices, EntityFramework.SqlServer" />
  57. </providers>
  58. </entityFramework>
  59. <appSettings>
  60. <!-- 微信公众号URL对接信息 -->
  61. <add key="WeixinToken" value="chuangxin1234567chuangxin1234567" />
  62. <add key="WeixinEncodingAESKey" value="" />
  63. <!-- 高级接口信息 -->
  64. <add key="WeixinAppId" value="wx1932067a4e356125" />
  65. <add key="WeixinAppSecret" value="e9ad9550755af983703d97bb09c64c51" />
  66. <add key="MobileAppPath" value="MobileApp" />
  67. <add key="WxMp_NoticeTemplateID" value="-MTih-lt1ZeKtsCjSFqbZ7FkB9rH4ntP79nCrCqgHn4" />
  68. <!-- 微信支付V3 -->
  69. <add key="TenPayV3_MchId" value="1607504565" />
  70. <!--<add key="TenPayV3_Key" value="D2C7B8DE80C3401DB0F83D0C589F18CC" />-->
  71. <add key="TenPayV3_Key" value="Gdcxjyzxyxgs1990gdcxjyzxyxgs1990" />
  72. <add key="TenPayV3_AppId" value="wx1932067a4e356125" />
  73. <add key="TenPayV3_AppSecret" value="e9ad9550755af983703d97bb09c64c51" />
  74. <add key="TenPayV3_TenpayNotify" value="http://ksbm.gdcxxy.net/Weixin/PayNotify" />
  75. </appSettings>
  76. <startup><supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.5.2" /></startup></configuration>