From 4115c46ea22c90198d46eecbe33be1703fd0cf6f Mon Sep 17 00:00:00 2001
From: liaoxujun@qq.com <liaoxujun@qq.com>
Date: 星期五, 25 八月 2023 15:57:21 +0800
Subject: [PATCH] 修改支付授权建立租户

---
 DocumentServiceAPI.Web.Entry/appsettings.json |   30 +++++++++++++++---------------
 1 files changed, 15 insertions(+), 15 deletions(-)

diff --git a/DocumentServiceAPI.Web.Entry/appsettings.json b/DocumentServiceAPI.Web.Entry/appsettings.json
index 5b27292..35eb566 100644
--- a/DocumentServiceAPI.Web.Entry/appsettings.json
+++ b/DocumentServiceAPI.Web.Entry/appsettings.json
@@ -12,28 +12,28 @@
     {
 
       "ConfigId": "default", //澶氬簱閰嶇疆ID
+      //"ConnectionString": "Server=.;Database=doc_new;User ID=sa;Password=123456;",
       "ConnectionString": "Server=localhost\\SQLEXPRESS;Database=CY_DocumentSystemOnline;User ID=sa;Password=123456;",
       "DbType": "SqlServer",
       "IsAutoCloseConnection": true
 
+
     }
   ],
-  //swags 鍚嶇О閰嶇疆 榛樿鍒嗙粍
-  "[openapi:Default]": {
-    "Title": "鏍囦功绠$悊绯荤粺鏈嶅姟",
-    "Order": 0,
-    "Description": "杩欎釜涓�涓緢濂界敤鏍囦功绠$悊绯荤粺鏈嶅姟杞欢",
-    "Version": "1.0.0",
-    "TermsOfService": "http://www.51zhengcai.com",
-    "Contact": {
-      "Name": "鏀块噰鍜ㄨ鏈夐檺鍏徃",
-      "Url": "http://www.51zhengcai.com"
 
-    },
-    "License": {
-      "Name": "鏀块噰鍜ㄨ鏈夐檺鍏徃",
-      "Url": "http://www.51zhengcai.com"
-    }
+  "isCodeFirst": true, //鏄惁鎵цcodefirst 娉ㄦ剰杩欎釜鍦ㄨ縼寰欏畬鎴愬悗搴旇璁剧疆涓篺alse 闃叉鏇存敼鏁版嵁搴�
+  //璇蜂繚鎸乺edis涓烘甯稿彲鐢�
+  "RedisConfig": {
+    // 濡傛灉閲囩敤瀹瑰櫒鍖栭儴缃睸ervice 瑕佸啓鎴恟edis鐨勬湇鍔″悕锛屽惁鍒欏啓鍦板潃
+    "ConnectionString": "127.0.0.1:6379,password=,connectTimeout=30000,responseTimeout=30000,abortConnect=false,connectRetry=1,syncTimeout=10000,DefaultDatabase=10" //redis鏁版嵁搴撹繛鎺ュ瓧绗︿覆
+
+  },
+
+  //娑堟伅闃熷垪閰嶇疆 涓轰簡鐙珛閮ㄧ讲锛岃繖閲屽崟鐙厤缃�
+  "InitQRedisConfig": {
+    // 濡傛灉閲囩敤瀹瑰櫒鍖栭儴缃睸ervice 瑕佸啓鎴恟edis鐨勬湇鍔″悕锛屽惁鍒欏啓鍦板潃
+    "ConnectionString": "127.0.0.1:6379,password=,connectTimeout=30000,responseTimeout=30000,abortConnect=false,connectRetry=1,syncTimeout=10000,DefaultDatabase=7" //redis鏁版嵁搴撹繛鎺ュ瓧绗︿覆
+
   },
 
 

--
Gitblit v1.9.1