From c08272da2ce63890e467f1dbf5746ed15bbd7457 Mon Sep 17 00:00:00 2001
From: liaoxujun@qq.com <liaoxujun@qq.com>
Date: 星期五, 04 八月 2023 17:01:49 +0800
Subject: [PATCH] 没有修改
---
DocumentServiceAPI.Web.Entry/appsettings.json | 26 +++++++++-----------------
1 files changed, 9 insertions(+), 17 deletions(-)
diff --git a/DocumentServiceAPI.Web.Entry/appsettings.json b/DocumentServiceAPI.Web.Entry/appsettings.json
index b8028f9..78d8527 100644
--- a/DocumentServiceAPI.Web.Entry/appsettings.json
+++ b/DocumentServiceAPI.Web.Entry/appsettings.json
@@ -12,30 +12,23 @@
{
"ConfigId": "default", //澶氬簱閰嶇疆ID
- "ConnectionString": "Server=localhost\\SQLEXPRESS;Database=DocApi;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"
+ "isCodeFirst": false, //鏄惁鎵ц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鏁版嵁搴撹繛鎺ュ瓧绗︿覆
- },
- "License": {
- "Name": "鏀块噰鍜ㄨ鏈夐檺鍏徃",
- "Url": "http://www.51zhengcai.com"
- }
},
+
+
"JWTSettings": {
@@ -50,6 +43,5 @@
"ClockSkew": 5, // 杩囨湡鏃堕棿瀹归敊鍊硷紝long 绫诲瀷锛屽崟浣嶇锛岄粯璁� 5绉�
"Algorithm": "HS256" // 鍔犲瘑绠楁硶锛宻tring 绫诲瀷锛岄粯璁� HS256
}
-
}
\ No newline at end of file
--
Gitblit v1.9.1