135 lines
		
	
	
		
			6.9 KiB
		
	
	
	
		
			XML
		
	
	
	
			
		
		
	
	
			135 lines
		
	
	
		
			6.9 KiB
		
	
	
	
		
			XML
		
	
	
	
| <?xml version="1.0" encoding="utf-8"?>
 | ||
| <!--
 | ||
|   有关如何配置 ASP.NET 应用程序的详细信息,请访问
 | ||
|   https://go.microsoft.com/fwlink/?LinkId=301879
 | ||
|   -->
 | ||
| <configuration>
 | ||
|   <appSettings>
 | ||
|     <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" />
 | ||
|     <!--连接字符串-->
 | ||
|     <add key="ConnectionString" value="Server=.;Database=SGGLDB_WH;Integrated Security=False;User ID=sa;Password=1111;MultipleActiveResultSets=true;Connect Timeout=1200" />
 | ||
|     <!--版本号-->
 | ||
|     <add key="SystemVersion" value="WebApi_V2019-08-27-001" />
 | ||
|     <!--附件上传物理路径-->
 | ||
|     <add key="localRoot" value="D:\WuHuan\SGGL\SGGL\FineUIPro.Web\" />
 | ||
|     <!--每页数量-->
 | ||
|     <add key="PageSize" value="15" />
 | ||
|     <!--BAIDU AI配置-->
 | ||
|     <add key="APP_ID" value="23518716" />
 | ||
|     <add key="API_KEY" value="9UGmBxS0TOIDGM5adGrOcBnr" />
 | ||
|     <add key="SECRET_KEY" value="6yq7q5PTTGfocWDmSN7hjxuiixsfURe1" />
 | ||
|     <!--视频服务器-->
 | ||
|     <add key="Video_URL" value="http://47.104.102.122:10000/" />
 | ||
|     <!--人脸检测参数-->
 | ||
|     <!--人脸活体检测参数1最好,0最差 建议0.995 -->
 | ||
|     <add key="BD_face_liveness" value="0.3" />
 | ||
|     <!--人脸高宽建议100-200-->
 | ||
|     <!--<add key="BD_width" value="200" />-->
 | ||
|     <!--<add key="BD_height" value="200" />-->
 | ||
|     <!--人脸角度-->
 | ||
|     <add key="BD_roll" value="60" />
 | ||
|     <!--人脸遮档度0最好,1最不好-->
 | ||
|     <add key="BD_occlusion" value="1" />
 | ||
|     <!--人脸模糊度0最好,1最不好-->
 | ||
|     <add key="BD_blur" value="0.1" />
 | ||
|     <add key="CEMS_IMG_URL" value="https://zhgd.cwcec.com/" />
 | ||
|   </appSettings>
 | ||
|   <!--
 | ||
|     有关 web.config 更改的说明,请参见 http://go.microsoft.com/fwlink/?LinkId=235367。
 | ||
| 
 | ||
|     可在 <httpRuntime> 标记上设置以下特性。
 | ||
|       <system.Web>
 | ||
|         <httpRuntime targetFramework="4.6.1" />
 | ||
|       </system.Web>
 | ||
|   -->
 | ||
|   <system.web>
 | ||
|     <compilation debug="true" targetFramework="4.6.1" />
 | ||
|     <httpRuntime />
 | ||
|     <pages controlRenderingCompatibilityVersion="4.0" />
 | ||
|   </system.web>
 | ||
|   <system.webServer>
 | ||
|     <handlers>
 | ||
|       <remove name="ExtensionlessUrlHandler-Integrated-4.0" />
 | ||
|       <remove name="OPTIONSVerbHandler" />
 | ||
|       <remove name="TRACEVerbHandler" />
 | ||
|       <add name="ExtensionlessUrlHandler-Integrated-4.0" path="*." verb="*" type="System.Web.Handlers.TransferRequestHandler" preCondition="integratedMode,runtimeVersionv4.0" />
 | ||
|     </handlers>
 | ||
|     <!-- 跨域访问必须添加 -->
 | ||
|     <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>
 | ||
|   </system.webServer>
 | ||
|   <runtime>
 | ||
|     <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
 | ||
|       <dependentAssembly>
 | ||
|         <assemblyIdentity name="System.IO.Compression" publicKeyToken="B77A5C561934E089" culture="neutral" />
 | ||
|         <bindingRedirect oldVersion="0.0.0.0-4.2.0.0" newVersion="4.2.0.0" />
 | ||
|       </dependentAssembly>
 | ||
|       <dependentAssembly>
 | ||
|         <assemblyIdentity name="System.ValueTuple" publicKeyToken="CC7B13FFCD2DDD51" culture="neutral" />
 | ||
|         <bindingRedirect oldVersion="0.0.0.0-4.0.2.0" newVersion="4.0.2.0" />
 | ||
|       </dependentAssembly>
 | ||
|       <dependentAssembly>
 | ||
|         <assemblyIdentity name="Aspose.Words" publicKeyToken="716FCC553A201E56" culture="neutral" />
 | ||
|         <bindingRedirect oldVersion="0.0.0.0-24.12.0.0" newVersion="24.12.0.0" />
 | ||
|       </dependentAssembly>
 | ||
|       <dependentAssembly>
 | ||
|         <assemblyIdentity name="Antlr3.Runtime" publicKeyToken="eb42632606e9261f" />
 | ||
|         <bindingRedirect oldVersion="0.0.0.0-3.5.0.2" newVersion="3.5.0.2" />
 | ||
|       </dependentAssembly>
 | ||
|       <dependentAssembly>
 | ||
|         <assemblyIdentity name="Newtonsoft.Json" culture="neutral" publicKeyToken="30ad4fe6b2a6aeed" />
 | ||
|         <bindingRedirect oldVersion="0.0.0.0-13.0.0.0" newVersion="13.0.0.0" />
 | ||
|       </dependentAssembly>
 | ||
|       <dependentAssembly>
 | ||
|         <assemblyIdentity name="System.Web.Optimization" publicKeyToken="31bf3856ad364e35" />
 | ||
|         <bindingRedirect oldVersion="1.0.0.0-1.1.0.0" newVersion="1.1.0.0" />
 | ||
|       </dependentAssembly>
 | ||
|       <dependentAssembly>
 | ||
|         <assemblyIdentity name="WebGrease" publicKeyToken="31bf3856ad364e35" />
 | ||
|         <bindingRedirect oldVersion="0.0.0.0-1.6.5135.21930" newVersion="1.6.5135.21930" />
 | ||
|       </dependentAssembly>
 | ||
|       <dependentAssembly>
 | ||
|         <assemblyIdentity name="System.Web.Helpers" publicKeyToken="31bf3856ad364e35" />
 | ||
|         <bindingRedirect oldVersion="1.0.0.0-3.0.0.0" newVersion="3.0.0.0" />
 | ||
|       </dependentAssembly>
 | ||
|       <dependentAssembly>
 | ||
|         <assemblyIdentity name="System.Web.WebPages" publicKeyToken="31bf3856ad364e35" />
 | ||
|         <bindingRedirect oldVersion="1.0.0.0-3.0.0.0" newVersion="3.0.0.0" />
 | ||
|       </dependentAssembly>
 | ||
|       <dependentAssembly>
 | ||
|         <assemblyIdentity name="System.Web.Mvc" publicKeyToken="31bf3856ad364e35" />
 | ||
|         <bindingRedirect oldVersion="1.0.0.0-5.2.4.0" newVersion="5.2.4.0" />
 | ||
|       </dependentAssembly>
 | ||
|       <dependentAssembly>
 | ||
|         <assemblyIdentity name="System.Web.Http" 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.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.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.Configuration.ConfigurationManager" publicKeyToken="cc7b13ffcd2ddd51" culture="neutral" />
 | ||
|         <bindingRedirect oldVersion="0.0.0.0-6.0.0.1" newVersion="6.0.0.1" />
 | ||
|       </dependentAssembly>
 | ||
|     </assemblyBinding>
 | ||
|   </runtime>
 | ||
|   <system.codedom>
 | ||
|     <compilers>
 | ||
|       <compiler language="c#;cs;csharp" extension=".cs" type="Microsoft.CodeDom.Providers.DotNetCompilerPlatform.CSharpCodeProvider, Microsoft.CodeDom.Providers.DotNetCompilerPlatform, Version=2.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" warningLevel="4" compilerOptions="/langversion:default /nowarn:1659;1699;1701" />
 | ||
|       <compiler language="vb;vbs;visualbasic;vbscript" extension=".vb" type="Microsoft.CodeDom.Providers.DotNetCompilerPlatform.VBCodeProvider, Microsoft.CodeDom.Providers.DotNetCompilerPlatform, Version=2.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" warningLevel="4" compilerOptions="/langversion:default /nowarn:41008 /define:_MYTYPE=\"Web\" /optionInfer+" />
 | ||
|     </compilers>
 | ||
|   </system.codedom>
 | ||
| </configuration> |