From 554cb4d840d2bd2a8c8b925d6e4242a949e88f24 Mon Sep 17 00:00:00 2001
From: yl <ykxkd@outlook.com>
Date: 星期四, 16 六月 2022 21:13:54 +0800
Subject: [PATCH] 导入接口接口定义
---
VueWebApi/Web.config | 32 +++++++++++++++++++-------------
1 files changed, 19 insertions(+), 13 deletions(-)
diff --git a/VueWebApi/Web.config b/VueWebApi/Web.config
index 51a7ecc..7d1fa44 100644
--- a/VueWebApi/Web.config
+++ b/VueWebApi/Web.config
@@ -15,13 +15,15 @@
<!--鏈湴鐜-->
<!--<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"/>
+ <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" />
@@ -35,25 +37,25 @@
<security>
<requestFiltering>
<!--涓昏鏄痬axAllowedContentLength灞炴��-->
- <requestLimits maxAllowedContentLength="2147483647" maxQueryString="102400"/>
+ <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"/>
+ <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"/>
+ <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"/>
+ <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" />
@@ -100,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