From f7ff76aeadd7d92da92ee65ed658b636fa4e8036 Mon Sep 17 00:00:00 2001
From: username@email.com <yzy2002yzy@163.com>
Date: 星期三, 06 九月 2023 08:36:51 +0800
Subject: [PATCH] 最新代码
---
DocumentServiceAPI.Application/applicationsettings.json | 55 +++++++++++++++++++++++++++++++++++++++++++++++--------
1 files changed, 47 insertions(+), 8 deletions(-)
diff --git a/DocumentServiceAPI.Application/applicationsettings.json b/DocumentServiceAPI.Application/applicationsettings.json
index fe875bc..188c419 100644
--- a/DocumentServiceAPI.Application/applicationsettings.json
+++ b/DocumentServiceAPI.Application/applicationsettings.json
@@ -3,29 +3,68 @@
"SpecificationDocumentSettings": {
"DocumentTitle": "Furion | 瑙勮寖鍖栨帴鍙�",
"GroupOpenApiInfos": [
+
+
{
"Group": "Default",
- "Title": "瑙勮寖鍖栨帴鍙f紨绀�",
- "Description": "璁� .NET 寮�鍙戞洿绠�鍗曪紝鏇撮�氱敤锛屾洿娴佽銆�",
+ "Title": "鏍囦功绠$悊绯荤粺鏈嶅姟",
+ "Description": "杩欎釜涓�涓緢濂界敤鏍囦功绠$悊绯荤粺鏈嶅姟杞欢",
"Version": "1.0.0",
- "TermsOfService": "http://furion.baiqian.ltd",
"Contact": {
- "Name": "鐧惧皬鍍�",
- "Url": "https://gitee.com/monksoul",
- "Email": "monksoul@outlook.com"
+ "Name": "鏀块噰鍜ㄨ鏈夐檺鍏徃",
+ "Url": "http://www.51zhengcai.com"
+
},
"License": {
- "Name": "Apache-2.0",
- "Url": "https://gitee.com/dotnetchina/Furion/blob/rc1/LICENSE"
+ "Name": "鏀块噰鍜ㄨ鏈夐檺鍏徃",
+ "Url": "http://www.51zhengcai.com"
}
}
]
},
+
+ //swags 鍚嶇О閰嶇疆 榛樿鍒嗙粍
+ "[openapi:LogInAndUser]": {
+ "Title": "鐧诲綍鍜岀敤鎴�",
+ "Order": 0,
+ "Description": "鐢ㄦ埛鍜岀櫥褰曠浉鍏�",
+ "Version": "1.0.0",
+ "Contact": {
+ "Name": "鏀块噰鍜ㄨ鏈夐檺鍏徃",
+ "Url": "http://www.51zhengcai.com"
+
+ },
+ "License": {
+ "Name": "鏀块噰鍜ㄨ鏈夐檺鍏徃",
+ "Url": "http://www.51zhengcai.com"
+ }
+ },
+
+ //閰嶇疆璺敱椋庢牸
+ "DynamicApiControllerSettings": {
+ "KeepName": true,//淇濇寔璺敱涓�鑷�
+ "KeepVerb": true,//淇濇寔鐗堟湰鍙蜂竴鑷�
+ "LowercaseRoute": false
+ },
+
"CorsAccessorSettings": {
"WithExposedHeaders": [
"access-token",
"x-access-token",
"environment"
]
+ },
+ "ZCUserInfoJwtOP": { //zc鐢ㄦ埛涓績jwt閰嶇疆 鐢ㄤ簬瑙f瀽zc鐨則oken
+
+ "Issuer": "http://localhost",
+ "Audience": "http://localhost",
+ "Expires": 10800,
+ "weixinExpires": 1296000,
+ "SecurityKey": "superSecretKey@345",
+ "RefreshTokenExpires": 86400,
+ "LoginPath": "/_Framework/Redirect401"
+
}
+
+
}
\ No newline at end of file
--
Gitblit v1.9.1