From 554cb4d840d2bd2a8c8b925d6e4242a949e88f24 Mon Sep 17 00:00:00 2001
From: yl <ykxkd@outlook.com>
Date: 星期四, 16 六月 2022 21:13:54 +0800
Subject: [PATCH] 导入接口接口定义
---
VueWebApi/bin/VueWebApi.dll.config | 34 +++++++++++++++++++++++++++++++++-
1 files changed, 33 insertions(+), 1 deletions(-)
diff --git a/VueWebApi/bin/VueWebApi.dll.config b/VueWebApi/bin/VueWebApi.dll.config
index 34e6f87..7d1fa44 100644
--- a/VueWebApi/bin/VueWebApi.dll.config
+++ b/VueWebApi/bin/VueWebApi.dll.config
@@ -12,13 +12,18 @@
</configSections>
<appSettings>
<!--鏁版嵁搴撻摼鎺ラ厤缃�-->
- <add key="DBServer" value="Data Source=.;Initial Catalog=vmes;Integrated Security=True" />
+ <!--鏈湴鐜-->
+ <!--<add key="DBServer" value="Data Source=.;Initial Catalog=vmes;Integrated Security=True" />-->
+ <!--鏈嶅姟鍣ㄧ幆澧�-->
+ <add key="DBServer" value="Data Source=121.196.36.24;Initial Catalog=vmes;User ID=sa;Password=xkd@20220602" />
<!--redis鏁版嵁搴撻摼鎺ラ厤缃甶p-->
<add key="RedisConnIp" value="127.0.0.1" />
<!--redis鏁版嵁搴撻摼鎺ラ厤缃鍙e彿-->
<add key="RedisConnPort" value="6379" />
<!--key澶辨晥鏃堕棿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" />
@@ -29,6 +34,29 @@
<httpRuntime targetFramework="4.6.1" />
</system.web>
<system.webServer>
+ <security>
+ <requestFiltering>
+ <!--涓昏鏄痬axAllowedContentLength灞炴��-->
+ <requestLimits maxAllowedContentLength="2147483647" maxQueryString="102400" />
+ </requestFiltering>
+ </security>
+ <httpProtocol>
+ <customHeaders>
+ <add name="Access-Control-Allow-Origin" value="*" />
+ <add name="Access-Control-Allow-Headers" value="Content-Type" />
+ <add name="Access-Control-Allow-Methods" value="GET, POST, PUT, DELETE, OPTIONS" />
+ </customHeaders>
+ </httpProtocol>
+ <modules runAllManagedModulesForAllRequests="true" />
+ <validation validateIntegratedModeConfiguration="false" />
+ <staticContent>
+ <remove fileExtension=".woff" />
+ <remove fileExtension=".woff2" />
+ <remove fileExtension=".json" />
+ <mimeMap fileExtension=".woff" mimeType="application/x-font-woff" />
+ <mimeMap fileExtension=".woff2" mimeType="application/font-woff2" />
+ <mimeMap fileExtension=".json" mimeType="application/json" />
+ </staticContent>
<handlers>
<remove name="ExtensionlessUrlHandler-Integrated-4.0" />
<remove name="OPTIONSVerbHandler" />
@@ -74,6 +102,10 @@
<assemblyIdentity name="System.Net.Http.Formatting" publicKeyToken="31bf3856ad364e35" culture="neutral" />
<bindingRedirect oldVersion="0.0.0.0-5.2.7.0" newVersion="5.2.7.0" />
</dependentAssembly>
+ <dependentAssembly>
+ <assemblyIdentity name="System.Net.Http" publicKeyToken="b03f5f7f11d50a3a" culture="neutral" />
+ <bindingRedirect oldVersion="0.0.0.0-4.1.1.0" newVersion="4.1.1.0" />
+ </dependentAssembly>
</assemblyBinding>
</runtime>
<system.codedom>
--
Gitblit v1.9.3