From 2cf980484c713dfcecce72302b8a757a0c5aedb2 Mon Sep 17 00:00:00 2001
From: 13693261870 <252740454@qq.com>
Date: 星期二, 26 十二月 2023 17:19:52 +0800
Subject: [PATCH] 修改py初始化参数

---
 ExportMap/Web.config |    6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/ExportMap/Web.config b/ExportMap/Web.config
index b005b95..b9f1c1b 100644
--- a/ExportMap/Web.config
+++ b/ExportMap/Web.config
@@ -33,13 +33,15 @@
     <!-- Mpt璺緞 -->
     <add key="mpt" value="D:\LF\data\mpt\tb.mpt" />
     <!-- PG杩炴帴 -->
-    <!--<add key="pgConn" value="Server=127.0.0.1;Port=5433;Database=langfang;User Id=postgres;Password=postgres;"/>-->
-    <add key="pgConn" value="Server=192.168.20.205;Port=5433;Database=langfang;User Id=postgres;Password=Postgres!_14_Lf;"/>
+    <add key="pgConn" value="Server=127.0.0.1;Port=5433;Database=langfang;User Id=postgres;Password=postgres;"/>
+    <!--<add key="pgConn" value="Server=192.168.20.205;Port=5433;Database=langfang;User Id=postgres;Password=Postgres!_14_Lf;"/>-->
     <!--<add key="pgConn" value="Server=103.85.165.99;Port=5433;Database=langfang;User Id=postgres;Password=Postgres!_14_Lf;"/>-->
     <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"/>
+    <!--Py鍒濆鍖栧弬鏁�-->
+    <add key="pyInitArgs" value="cd &quot;C:/Program Files/QGIS 3.16/apps/Python37&quot;;&quot;C:/Program Files/QGIS 3.16/bin/qgis_process-qgis-ltr.bat&quot;"/>
   </appSettings>
   <connectionStrings/>
   <system.web>

--
Gitblit v1.9.3