From b166c0f80252ab4e1af4136789cb976364b779b2 Mon Sep 17 00:00:00 2001 From: yl <ykxkd@outlook.com> Date: 星期一, 21 十一月 2022 15:12:04 +0800 Subject: [PATCH] 大岛的登陆接口存redis加企业区分 --- VueWebApi/bin/VueWebApi.dll.config | 41 +++++++++++++++++++++++++++++++++++++---- 1 files changed, 37 insertions(+), 4 deletions(-) diff --git a/VueWebApi/bin/VueWebApi.dll.config b/VueWebApi/bin/VueWebApi.dll.config index d5f88f4..fbd6aca 100644 --- a/VueWebApi/bin/VueWebApi.dll.config +++ b/VueWebApi/bin/VueWebApi.dll.config @@ -15,24 +15,31 @@ <!--鏈湴鐜--> <!--<add key="DBServer" value="Data Source=.;Initial Catalog=vmes;Integrated Security=True" />--> <!--鏈嶅姟鍣ㄧ幆澧�--> - <add key="DBServer" value="Data Source=121.196.36.24,1533;Initial Catalog=vmes;User ID=sa;Password=xkd@20220602;pooling=false" /> + <add key="DBServer" value="Data Source=121.196.36.24,1533;Initial Catalog=vmes_dd;User ID=sa;Password=xkd@20220602;pooling=false" /> + <!--澶у矝鏈嶅姟鍣ㄧ幆澧�--> + <!--<add key="DBServer" value="Data Source=192.168.2.138;Initial Catalog=vmes;User ID=sa;Password=Dd@20220727;pooling=false" />--> + <!--redis浼佷笟閰嶇疆--> + <add key="Enterprise" value="DD" /> <!--redis鏁版嵁搴撻摼鎺ラ厤缃甶p--> <add key="RedisConnIp" value="127.0.0.1" /> <!--redis鏁版嵁搴撻摼鎺ラ厤缃鍙e彿--> <add key="RedisConnPort" value="6379" /> <!--key澶辨晥鏃堕棿30绉�--> - <add key="RedisKeyTimeCont" value="30" /> + <add key="RedisKeyTimeCont" value="120" /> <!--Excel瀵煎嚭妯℃澘閰嶇疆IP--> <add key="FileIP" value="http://121.196.36.24:8001/" /> <add key="webpages:Version" value="3.0.0.0" /> <add key="webpages:Enabled" value="false" /> <add key="ClientValidationEnabled" value="true" /> <add key="UnobtrusiveJavaScriptEnabled" value="true" /> + <!--鎻愪氦json瀛楃涓茶繃闀块棶棰�--> + <add key="aspnet:MaxJsonDeserializerMembers" value="150000000"/> </appSettings> <system.web> <compilation debug="true" targetFramework="4.6.1" /> - <customErrors mode="Off"/> - <httpRuntime targetFramework="4.6.1" /> + <customErrors mode="Off" /> + <!--鏈�澶ц姹傞暱搴�,鍗曚綅涓簁b--> + <httpRuntime targetFramework="4.6.1" maxRequestLength="2147483647" maxQueryStringLength="2097151"/> <!--session澶辨晥鏃堕棿--> <sessionState mode="InProc" timeout="240"> <!--<sessionState mode="Off">--> @@ -61,6 +68,8 @@ <mimeMap fileExtension=".woff" mimeType="application/x-font-woff" /> <mimeMap fileExtension=".woff2" mimeType="application/font-woff2" /> <mimeMap fileExtension=".json" mimeType="application/json" /> + <!--娣诲姞鎵撳嵃鏂囦欢MIME绫诲瀷--> + <!--<mimeMap fileExtension=".grf" mimeType="grf/gridreport"/>--> </staticContent> <handlers> @@ -112,6 +121,30 @@ <assemblyIdentity name="System.Net.Http" publicKeyToken="b03f5f7f11d50a3a" culture="neutral" /> <bindingRedirect oldVersion="0.0.0.0-4.1.1.3" newVersion="4.0.0.0" /> </dependentAssembly> + <dependentAssembly> + <assemblyIdentity name="System.Memory" publicKeyToken="cc7b13ffcd2ddd51" culture="neutral" /> + <bindingRedirect oldVersion="0.0.0.0-4.0.1.1" newVersion="4.0.1.1" /> + </dependentAssembly> + <dependentAssembly> + <assemblyIdentity name="System.Runtime.CompilerServices.Unsafe" publicKeyToken="b03f5f7f11d50a3a" culture="neutral" /> + <bindingRedirect oldVersion="0.0.0.0-4.0.4.1" newVersion="4.0.4.1" /> + </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> + <dependentAssembly> + <assemblyIdentity name="Microsoft.Owin.Security" publicKeyToken="31bf3856ad364e35" culture="neutral" /> + <bindingRedirect oldVersion="0.0.0.0-4.0.0.0" newVersion="4.0.0.0" /> + </dependentAssembly> + <dependentAssembly> + <assemblyIdentity name="Microsoft.Owin" publicKeyToken="31bf3856ad364e35" culture="neutral" /> + <bindingRedirect oldVersion="0.0.0.0-4.0.0.0" newVersion="4.0.0.0" /> + </dependentAssembly> + <dependentAssembly> + <assemblyIdentity name="System.Web.Cors" publicKeyToken="31bf3856ad364e35" culture="neutral" /> + <bindingRedirect oldVersion="0.0.0.0-5.2.7.0" newVersion="5.2.7.0" /> + </dependentAssembly> </assemblyBinding> </runtime> <system.codedom> -- Gitblit v1.9.3