软测单独项目
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.
 
 
 
 
 
 

231 lines
14 KiB

<?xml version="1.0" encoding="utf-8"?>
<!--
有关如何配置 ASP.NET 应用程序的详细消息,请访问
http://go.microsoft.com/fwlink/?LinkId=169433
-->
<configuration>
<connectionStrings>
<!--MySql数据库连接-->
<!-- 局域网高版本数据库 -->
<add name="MySqlConnString" connectionString="server=192.168.31.18;port=3306;user=root;password=123456; database=smartcamp;pooling=false;min pool size=5;max pool size=200;connect timeout = 3000; SslMode=None;Allow User Variables=True;Charset=utf8;" />
<!-- 政务网 -->
<!--<add name="MySqlConnString" connectionString="server=221.13.83.52;port=18204;user=smartcamp;password=C@mp_Smart#2022;database=smartcamp;pooling=false;min pool size=5;max pool size=1000;connect timeout = 3000; SslMode=None;Allow User Variables=True;Charset=utf8;" />-->
<!--<add name="MySqlConnString" connectionString="server=221.13.83.52;port=18204;user=smartcamp;password=C@mp_Smart#2022; database=smartcamp;SslMode=None;Allow User Variables=True;Charset=utf8;" />-->
<!--<add name="MySqlConnString" connectionString="server=192.168.31.12;port=3306;user=root;password=P@ssw0rd; database=smartcamp;SslMode=None;Allow User Variables=True;Charset=utf8;"/>-->
<!--<add name="MySqlConnString" connectionString="server=172.24.100.246;port=3306;user=smartcamp;password=C@mp_Smart#2022; database=smartcamp;SslMode=None;Allow User Variables=True;Charset=utf8;" />-->
<!--<add name="MySqlConnString" connectionString="server=47.92.168.204;port=3547;user=root;password=KeNing_P@ssw0rd!; database=smartcamp20230106zx;SslMode=None;Allow User Variables=True;Charset=utf8;" />-->
<!--<add name="MySqlConnString" connectionString="server=47.92.168.204;port=3547;user=root;password=KeNing_P@ssw0rd!; database=smartcamp;SslMode=None;Allow User Variables=True;Charset=utf8;" />-->
<!--<add name="MySqlConnString" connectionString="server=192.168.31.198;port=3306;user=root;password=123456; database=smartcamp2;SslMode=None;Allow User Variables=True;Charset=utf8;" />-->
<!--<add name="MySqlConnString" connectionString="server=172.28.70.132;port=6033;user=smartcamp;password=C@mp_Smart#2022; database=smartcamp;SslMode=None;Allow User Variables=True;Charset=utf8;" />-->
<!--<add name="MySqlConnString" connectionString="server=192.168.31.12;port=3306;user=root;password=P@ssw0rd; database=smartcamp;SslMode=None;Allow User Variables=True;Charset=utf8;" />-->
<!--<add name="MySqlConnString" connectionString="server=8.142.16.8;port=4002;user=root;password=P@ssw0rd; database=smartcamp;SslMode=None;Allow User Variables=True;Charset=utf8;" />-->
<!--<add name="MySqlConnString" connectionString="server=8.142.16.8;port=6033;user=smartcamp;password=C@mp_Smart#2022; database=smartcamp;SslMode=None;Allow User Variables=True;Charset=utf8;" />-->
<!--<add name="MySqlConnString" connectionString="server=192.168.31.44;port=3306;user=root;password=root; database=smartcamp;SslMode=None;Allow User Variables=True;Charset=utf8;" />-->
<!--<add name="MySqlConnString" connectionString="server=192.168.31.196;port=3306;user=root;password=123456; database=smartcamp2;SslMode=None;Allow User Variables=True;Charset=utf8;Old Guids=true;Pooling=false;allowPublicKeyRetrieval=true;" />-->
<!--<add name="MySqlConnString" connectionString="server=localhost;port=3306;user=root;password=root; database=smartcamp20220819;SslMode=None;Allow User Variables=True;Charset=utf8;Old Guids=true;Pooling=false;allowPublicKeyRetrieval=true;" />-->
<!--MySql具有管理员权限的数据库连接字符串,党建同步数据用-->
<!--<add name="MySqlConnStrAdmin" connectionString="server=172.28.70.132;port=6033;user=admin;password=KeNing_P@ssw0rd!; database=smartcamp;SslMode=None;Allow User Variables=True;Charset=utf8;" />-->
<add name="MySqlConnStrAdmin" connectionString="server=47.92.168.204;port=3547;user=root;password=KeNing_P@ssw0rd!; database=smartcamp;SslMode=None;Allow User Variables=True;Charset=utf8;" />
<!--MySql日志表保存库连接-->
<add name="MySqlConnStrLog" connectionString="server=221.13.83.52;port=18203;user=root;password=KeNing_P@ssw0rd!; database=smartcamp_log;SslMode=None;Allow User Variables=True;Charset=utf8;" />
</connectionStrings>
<appSettings>
<!--value即是程序集名称,也是命名空间名称-->
<!--<add key="DataAccess" value="FangYar.SQLServerDAL"/>-->
<add key="DataAccess" value="FangYar.OracleDAL" />
<add key="APP" value="0001" />
<!--系统初始密码-->
<add key="InitPassword" value="111" />
<!--允许上传的文件类型-->
<add key="UploadFileType" value="jpg,png,gif,bmp,zip,rar,7z,doc,docx,xls,xlsx,ppt,pptx,pdf,txt" />
<!--DB end-->
<!--提醒信息发送时间提前量-->
<add key="DateDiffer" value="10" />
<!--sql注入-->
<add key="StrKeyWord" value="select|insert|delete|from|drop table|update|truncate|exec master|netlocalgroup administrators|:|net user|or|and" />
<!--推送服务地址-->
<add key="PushUrl" value="http://8.142.26.222:8080/political/push/msg" />
<add key="OpenIdPushUrl" value="http://xzdj.xfzn365.com/political/mobile/PushMessage" />
<!--<add key="OpenIdPushUrl" value="https://catering-sys.xfzn365.com/tools-manager/mobile/tools/pushMsg/wxPushMessage" />-->
<add key="OpenIdJumpUrl" value="/pagesL/pages/team/dspxnew/dspxlist" />
<!--短信推送服务地址-->
<add key="ShortLetterUrl" value="https://gateway.xfzn365.com/camp-tools/sms/send" />
<!--循环获取流转步骤次数-->
<add key="nextStepsCount" value="2" />
<!--日喀则地区抄送人配置-->
<add key="IsChaoSong" value="true" />
<add key="ChaoSongUid" value="13989900809" />
<add key="ChaoSongName" value="周凤" />
<!-- 是否记录调试信息日志:0、不记录;1、记录 -->
<add key="MyLogDebug" value="1" />
<!-- Cook添加域,0、添加1、不添加; -->
<add key="CookSet" value="1" />
<!-- 访客登记审批路径 -->
<!--<add key="VisitorReg" value="http://192.168.31.252:8700/sdk/api/visitor/review" />-->
<add key="VisitorReg" value="http://dahua.xfzn365.com/sdk/api/visitor/review" />
<!-- 设置是否记录操作日志:0、记录;其他、不记录 -->
<add key="IsOperationLogDebug" value="1" />
<!--Kafka服务器地址-->
<add key="KafkaServer" value="172.20.123.5:9092,172.20.123.6:9092,172.20.123.7:9092" />
<!--Kafka服务器存储Key-->
<add key="KafkaServerKey" value="CampSysOperationLog" />
<!-- 设置是否跳转到大华消防:0、跳转;其他、不跳转 -->
<add key="IsXFToDaHuaUrl" value="0" />
<!-- 科宁消防URL地址 -->
<add key="KeNingXFUrl" value="OldUrl" />
<!-- 大华消防URL地址 -->
<add key="DaHuaXFUrl" value="http://113.62.188.154:8314/FBDSWeb#/redirectLoading?theCode=" />
<!-- ICC同步信息URL开始 -->
<add key="IccSyncUrlHead" value="http://api.xfzn365.com/blade-face-manage/" />
<!-- 人员新增ICC人像库 -->
<add key="IccEmpImgAddUrl" value="portrait/sync" />
<!-- 人员删除ICC人像库 -->
<add key="IccEmpImgDelUrl" value="portrait/remove" />
<!-- 人员修改ICC人像库 -->
<add key="IccEmpImgUpdUrl" value="portrait/update" />
<!-- 人员新增ICC基础信息 -->
<add key="IccEmpInfoAddUrl" value="icc_api/userAdd" />
<!-- 人员删除ICC基础信息 -->
<add key="IccEmpInfoDelUrl" value="icc_api/userDelete" />
<!-- 人员修改ICC基础信息 -->
<add key="IccEmpInfoUpdUrl" value="icc_api/userEdit" />
<!-- 人员门禁同步信息 -->
<add key="IccEmpDoorSync" value="icc/user/syncDoor" />
<!-- 餐厅同步信息URL开始 -->
<add key="DiningSyncUrlHead" value="https://catering-sys.xfzn365.com/" />
<!-- 人员新增ICC基础信息 -->
<add key="DiningEmpInfoAddUrl" value="api/user/useradd" />
<!-- 人员修改ICC基础信息 -->
<add key="DiningEmpInfoUpdUrl" value="api/user/useredit" />
<!-- 人员删除ICC基础信息 -->
<add key="DiningEmpInfoDelUrl" value="api/user/userdel" />
<!-- 餐厅获取本地图片路径前缀 -->
<add key="CampImgUrlPrefix" value="http://xzcamp.xfzn365.com/" />
<!-- 邮件发送相关配置 -->
<!-- 发件人名称 -->
<add key="EmailFormName" value="kn1790429840@163.com" />
<!-- 邮件标题 -->
<add key="EmailTitleName" value="西藏营区人员调整" />
<!-- 收件人邮箱集合 -->
<add key="EmailReceiveInfo" value="804188856@qq.com;1790429840@qq.com" />
<!-- 邮件发送账号 -->
<add key="EmailLogin" value="kn1790429840@163.com" />
<!-- 邮件发送授权码 -->
<add key="EmailKey" value="NQSHBYEUMRAPFDGI" />
<!-- 邮件发送SMTP -->
<add key="EmailHost" value="smtp.163.com" />
<!-- redisIP地址 -->
<add key="redisIp" value="192.168.31.16" />
<!-- redis端口 -->
<add key="redisPort" value="6379" />
<!-- redis密码 -->
<add key="redisPwd" value="" />
<!-- 人员出入记录不查询人员 -->
<add key="empInOutLogNot" value="'120797b0-b9b0-11ec-93b0-00163e122c79','40f709de-b9b0-11ec-93b0-00163e122c79','4b90287fd4184f20b30717613d7ffd35','8185ec69-b9b0-11ec-a7b5-00163e12a600','941d86a29aa24612a32e60efc6771874','a531078846e747d5aa0c63589a96e6cb','a81f9e26-b9af-11ec-a7b5-00163e12a600','b2642f5c-b9b0-11ec-9318-00163e0ff88e','df4b343a-b9af-11ec-93b0-00163e122c79'" />
</appSettings>
<!--
有关 web.config 更改的说明,请参见 http://go.microsoft.com/fwlink/?LinkId=235367。
可在 <httpRuntime> 标记上设置以下特性。
<system.Web>
<httpRuntime targetFramework="4.5" />
</system.Web>
-->
<system.web>
<authentication mode="Forms">
<forms name=".SessionCookie" loginUrl="~/login/index.html" defaultUrl="~/index.html" protection="All" timeout="30" path="/" requireSSL="false" slidingExpiration="true" enableCrossAppRedirects="false" cookieless="UseDeviceProfile" domain="" />
</authentication>
<!--<compilation targetFramework="4.5" />-->
<compilation debug="true" targetFramework="4.7.2">
<assemblies>
<add assembly="System.Runtime, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
</assemblies>
</compilation>
<pages validateRequest="false" enableViewState="false" enableEventValidation="false" enableViewStateMac="false" controlRenderingCompatibilityVersion="4.0" />
<httpRuntime maxQueryStringLength="2097151" maxRequestLength="2048000000" requestValidationMode="2.0" />
<sessionState mode="InProc" stateConnectionString="tcpip=127.0.0.1:11992" stateNetworkTimeout="1440" timeout="1440" />
<hostingEnvironment shadowCopyBinAssemblies="false" />
</system.web>
<system.serviceModel>
<bindings>
<basicHttpBinding>
<binding name="cwsServiceSoapBinding" />
</basicHttpBinding>
</bindings>
<client />
</system.serviceModel>
<system.webServer>
<security>
<requestFiltering>
<requestLimits maxAllowedContentLength="2147483647" maxQueryString="2147483647" />
</requestFiltering>
</security>
<defaultDocument>
<files>
<clear />
<add value="index2.html" />
<add value="index.html" />
</files>
</defaultDocument>
<httpProtocol>
<customHeaders>
<add name="Access-Control-Allow-Headers" value="Content-Type, api_key, Authorization, X-Requested-With" />
<add name="Access-Control-Allow-Methods" value="GET, POST, PUT, DELETE, OPTIONS" />
<add name="Access-Control-Allow-Origin" value="*" />
</customHeaders>
</httpProtocol>
</system.webServer>
<runtime>
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
<dependentAssembly>
<assemblyIdentity name="Newtonsoft.Json" publicKeyToken="30AD4FE6B2A6AEED" culture="neutral" />
<bindingRedirect oldVersion="0.0.0.0-6.0.0.0" newVersion="6.0.0.0" />
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="Oracle.ManagedDataAccess" publicKeyToken="89b483f429c47342" culture="neutral" />
<bindingRedirect oldVersion="0.0.0.0-4.122.19.1" newVersion="4.122.19.1" />
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="Newtonsoft.Json" publicKeyToken="30ad4fe6b2a6aeed" culture="neutral" />
<bindingRedirect oldVersion="0.0.0.0-6.0.0.0" newVersion="6.0.0.0" />
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="Microsoft.Owin" publicKeyToken="31bf3856ad364e35" culture="neutral" />
<bindingRedirect oldVersion="0.0.0.0-4.1.1.0" newVersion="4.1.1.0" />
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="MySql.Data" publicKeyToken="c5687fc88969c44d" culture="neutral" />
<bindingRedirect oldVersion="0.0.0.0-8.0.33.0" newVersion="8.0.33.0" />
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="System.Runtime.CompilerServices.Unsafe" publicKeyToken="b03f5f7f11d50a3a" culture="neutral" />
<bindingRedirect oldVersion="0.0.0.0-6.0.0.0" newVersion="6.0.0.0" />
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="System.Memory" publicKeyToken="cc7b13ffcd2ddd51" culture="neutral" />
<bindingRedirect oldVersion="0.0.0.0-4.0.1.2" newVersion="4.0.1.2" />
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="BouncyCastle.Crypto" publicKeyToken="0e99375e54769942" culture="neutral" />
<bindingRedirect oldVersion="0.0.0.0-1.9.0.0" newVersion="1.9.0.0" />
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="Google.Protobuf" publicKeyToken="a7d26565bac4d604" culture="neutral" />
<bindingRedirect oldVersion="0.0.0.0-3.26.1.0" newVersion="3.26.1.0" />
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="K4os.Compression.LZ4.Streams" publicKeyToken="2186fa9121ef231d" culture="neutral" />
<bindingRedirect oldVersion="0.0.0.0-1.3.8.0" newVersion="1.3.8.0" />
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="ZstdSharp" publicKeyToken="8d151af33a4ad5cf" culture="neutral" />
<bindingRedirect oldVersion="0.0.0.0-0.8.0.0" newVersion="0.8.0.0" />
</dependentAssembly>
</assemblyBinding>
</runtime>
</configuration>