From 153672d1b7f77434b3b522ec8dbcce67b7932dae Mon Sep 17 00:00:00 2001 From: qwj <qwjzorro@163.com> Date: 星期三, 26 七月 2023 17:30:34 +0800 Subject: [PATCH] appsettings.json不提交 --- /dev/null | 53 ----------------------------------------------------- .gitignore | 1 + 2 files changed, 1 insertions(+), 53 deletions(-) diff --git a/.gitignore b/.gitignore index a2912f1..62dd116 100644 --- a/.gitignore +++ b/.gitignore @@ -24,3 +24,4 @@ DocumentServiceAPI.Enum/obj/DocumentServiceAPI.Enum.csproj.nuget.g.props DocumentServiceAPI.Enum/obj/ /.vs +/DocumentServiceAPI.Web.Entry/appsettings.json diff --git a/DocumentServiceAPI.Web.Entry/appsettings.json b/DocumentServiceAPI.Web.Entry/appsettings.json deleted file mode 100644 index b0992fc..0000000 --- a/DocumentServiceAPI.Web.Entry/appsettings.json +++ /dev/null @@ -1,53 +0,0 @@ -{ - "$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=localhost\\SQLEXPRESS;Database=DocApi;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