From 4c19b6fdf41fcc5deb080f472b151ce65143d71e Mon Sep 17 00:00:00 2001
From: qwj <qwjzorro@163.com>
Date: 星期四, 27 七月 2023 10:05:35 +0800
Subject: [PATCH] 112

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

diff --git a/DocumentServiceAPI.Web.Entry/appsettings.json b/DocumentServiceAPI.Web.Entry/appsettings.json
new file mode 100644
index 0000000..c5af045
--- /dev/null
+++ b/DocumentServiceAPI.Web.Entry/appsettings.json
@@ -0,0 +1,53 @@
+{
+  "$schema": "https://gitee.com/dotnetchina/Furion/raw/v4/schemas/v4/furion-schema.json",
+  "Logging": {
+    "LogLevel": {
+      "Default": "Information",
+      "Microsoft.AspNetCore": "Warning",
+      "Microsoft.EntityFrameworkCore": "Information"
+    }
+  },
+  "AllowedHosts": "*",
+  "ConnectionConfigs": [
+    {
+
+      "ConfigId": "default", //澶氬簱閰嶇疆ID
+      "ConnectionString": "Server=.;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"
+    }
+  },
+
+
+  "JWTSettings": {
+    "ValidateIssuerSigningKey": true, // 鏄惁楠岃瘉瀵嗛挜锛宐ool 绫诲瀷锛岄粯璁rue
+    "IssuerSigningKey": "129(*dasd09213)*(*jKDl", // 瀵嗛挜锛宻tring 绫诲瀷锛屽繀椤绘槸澶嶆潅瀵嗛挜锛岄暱搴﹀ぇ浜�16
+    "ValidateIssuer": true, // 鏄惁楠岃瘉绛惧彂鏂癸紝bool 绫诲瀷锛岄粯璁rue
+    "ValidIssuer": "www.51zhengcai.com", // 绛惧彂鏂癸紝string 绫诲瀷
+    "ValidateAudience": true, // 鏄惁楠岃瘉绛炬敹鏂癸紝bool 绫诲瀷锛岄粯璁rue
+    "ValidAudience": "www.51zhengcai.com", // 绛炬敹鏂癸紝string 绫诲瀷
+    "ValidateLifetime": true, // 鏄惁楠岃瘉杩囨湡鏃堕棿锛宐ool 绫诲瀷锛岄粯璁rue锛屽缓璁畉rue
+    "ExpiredTime": 20, // 杩囨湡鏃堕棿锛宭ong 绫诲瀷锛屽崟浣嶅垎閽燂紝榛樿20鍒嗛挓
+    "ClockSkew": 5, // 杩囨湡鏃堕棿瀹归敊鍊硷紝long 绫诲瀷锛屽崟浣嶇锛岄粯璁� 5绉�
+    "Algorithm": "HS256" // 鍔犲瘑绠楁硶锛宻tring 绫诲瀷锛岄粯璁� HS256
+  }
+
+}
\ No newline at end of file

--
Gitblit v1.9.1