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

125 lines
5.9 KiB

2 years ago
2 years ago
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <!--
  3. 有关如何配置 ASP.NET 应用程序的详细信息,请访问
  4. https://go.microsoft.com/fwlink/?LinkId=301879
  5. -->
  6. <configuration>
  7. <appSettings>
  8. <add key="webpages:Version" value="3.0.0.0" />
  9. <add key="webpages:Enabled" value="false" />
  10. <add key="ClientValidationEnabled" value="true" />
  11. <add key="UnobtrusiveJavaScriptEnabled" value="true" />
  12. <!--<add key="owin:AutomaticAppStartup" value="false"></add>-->
  13. <!-- Mail的編碼格式 預設:UTF-8 -->
  14. <add key="MailEncoding" value="UTF-8" />
  15. <!-- 發件人名稱 預設:系統郵件 -->
  16. <add key="FromName" value="系統郵件[請勿回覆]" />
  17. <!-- 發件人地址 預設:ot.syssender@gmail.com -->
  18. <!--<add key="FromEmail" value="dd24166@outlook.com" />-->
  19. <add key="FromEmail" value="ot.syssender@gmail.com" />
  20. <!--<add key="FromEmail" value="Origtek@google.com" />-->
  21. <!-- 發件人帳號 預設:ot.syssender@gmail.com -->
  22. <!--<add key="FromUserId" value="dd24166@outlook.com" />-->
  23. <add key="FromUserId" value="ot.syssender@gmail.com" />
  24. <!--<add key="FromUserId" value="" />-->
  25. <!-- 發件人密碼 預設:25153819 -->
  26. <!--<add key="FromPassword" value="123456zzz" />-->
  27. <add key="FromPassword" value="idcpqagtpcpjeyht" />
  28. <!-- 郵件服務器地址 預設:smtp.gmail.com -->
  29. <!--<add key="Server" value="smtp-mail.outlook.com" />-->
  30. <add key="Server" value="smtp.gmail.com" />
  31. <!-- 郵件服務器Port 預設:587 -->
  32. <!--<add key="ServerPort" value="587" />-->
  33. <!--<add key="ServerPort" value="587" />-->
  34. <add key="ServerPort" value="587" />
  35. <!-- 超時(秒) 預設:60 -->
  36. <add key="Timeout" value="60" />
  37. <!-- 是否啟用 SSL 認證。true|false 預設:true -->
  38. <!--<add key="SSL" value="true" />-->
  39. <add key="SSL" value="true" />
  40. <!-- 系統預設加密解密密匙Key -->
  41. <add key="DefaultCryptionKey" value="OTK7950future" />
  42. <!-- 系統預設加密解密密匙IV -->
  43. <add key="DefaultCryptionIV" value="394820" />
  44. <!-- 登陸後有效時間(分鐘) -->
  45. <add key="ExpireTime" value="240" />
  46. <!-- API失效時間(秒) -->
  47. <add key="UrlExpireTime" value="120" />
  48. <!-- 系統預設顯示樣式 -->
  49. <add key="DefaultTheme" value="Common" />
  50. <!-- 連接字符串是否加密 -->
  51. <add key="ConStringEncrypt" value="false" />
  52. <!-- 是否進行外網驗證 -->
  53. <add key="IsCheckNet" value="true" />
  54. <!--文字檔轉換助手組織ID-->
  55. <add key="TransferOrgID" value="TE" />
  56. <!--文字檔轉換助手帳號ID-->
  57. <add key="TransferUerID" value="EUROTRAN" />
  58. <!--卡鐘打卡資料路徑-->
  59. <add key="AttendancePath" value="D:\EIP\" />
  60. <!--系統設定上班開始時間key值-->
  61. <add key="WorkTimePMKey" value="WorkTimePM" />
  62. <!--系統設定上班結束時間key值-->
  63. <add key="WorkTimeAMKey" value="WorkTimeAM" />
  64. <!-- 連接字符串 -->
  65. <!--<add key="ConnectionString" value="server=192.168.1.104;database=EURO;uid=ot;pwd=ot20140507" />-->
  66. <add key="ConnectionString" value="server=192.168.1.104;database=EURO;uid=euro;pwd=admin123!@#;Max Pool Size=5120;Min Pool Size=5;connect timeout=20;" />
  67. <!--<add key="ConnectionString" value="server=ALINA-PC\JOHN;database=EURO_Online;uid=sa;pwd=admin123!@#" />-->
  68. <!-- DSB類型 -->
  69. <add key="DbType" value="sqlserver" />
  70. <!-- 文件產出位置 -->
  71. <add key="OutFilesPath" value="OutFiles/Temporary/" />
  72. <add key="OrgId" value="TE" />
  73. <add key="UserId" value="EUROTRANWEB" />
  74. <add key="PassWd" value="euro123" /> <!---->
  75. <!--實際後台的授權帳號密碼-->
  76. <add key="GetApi" value="https://www.eurotran.com:3466/api/Cmd/GetData" />
  77. <!--<add key="TokenApi" value="https://www.eurotran.com:9001/api/Service/GetToken" />-->
  78. <!--<add key="TokenApi" value="https://www.origtek.com:8106/api/Service/GetToken" />-->
  79. <add key="TokenApi" value="http://localhost:3466/api/Service/GetToken" />
  80. </appSettings>
  81. <!--
  82. 有关 web.config 更改的说明,请参见 http://go.microsoft.com/fwlink/?LinkId=235367。
  83. 可在 <httpRuntime> 标记上设置以下特性。
  84. <system.Web>
  85. <httpRuntime targetFramework="4.5" />
  86. </system.Web>
  87. -->
  88. <system.web>
  89. <compilation debug="true" targetFramework="4.6" />
  90. <httpRuntime targetFramework="4.5" />
  91. <httpModules />
  92. </system.web>
  93. <system.webServer>
  94. <handlers>
  95. <remove name="ExtensionlessUrlHandler-Integrated-4.0" />
  96. <remove name="OPTIONSVerbHandler" />
  97. <remove name="TRACEVerbHandler" />
  98. <add name="ExtensionlessUrlHandler-Integrated-4.0" path="*." verb="*" type="System.Web.Handlers.TransferRequestHandler" preCondition="integratedMode,runtimeVersionv4.0" />
  99. </handlers>
  100. <validation validateIntegratedModeConfiguration="false" />
  101. <modules>
  102. <remove name="ApplicationInsightsWebTracking" />
  103. </modules>
  104. </system.webServer>
  105. <runtime>
  106. <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
  107. <dependentAssembly>
  108. <assemblyIdentity name="Newtonsoft.Json" culture="neutral" publicKeyToken="30ad4fe6b2a6aeed" />
  109. <bindingRedirect oldVersion="0.0.0.0-11.0.0.0" newVersion="11.0.0.0" />
  110. </dependentAssembly>
  111. <dependentAssembly>
  112. <assemblyIdentity name="WebGrease" publicKeyToken="31bf3856ad364e35" />
  113. <bindingRedirect oldVersion="0.0.0.0-1.5.2.14234" newVersion="1.5.2.14234" />
  114. </dependentAssembly>
  115. <dependentAssembly>
  116. <assemblyIdentity name="System.Web.Helpers" publicKeyToken="31bf3856ad364e35" />
  117. <bindingRedirect oldVersion="1.0.0.0-3.0.0.0" newVersion="3.0.0.0" />
  118. </dependentAssembly>
  119. <dependentAssembly>
  120. <assemblyIdentity name="System.Web.Mvc" publicKeyToken="31bf3856ad364e35" />
  121. <bindingRedirect oldVersion="1.0.0.0-5.2.3.0" newVersion="5.2.3.0" />
  122. </dependentAssembly>
  123. </assemblyBinding>
  124. </runtime>
  125. </configuration>