From 67965cce30e900f9b6091170745ecf115f64e23d Mon Sep 17 00:00:00 2001 From: qwj <qwjzorro@163.com> Date: 星期三, 02 八月 2023 17:15:33 +0800 Subject: [PATCH] Merge branch 'master' of http://47.108.235.38:8080/r/DocumentService --- DocumentServiceAPI.Application/applicationsettings.json | 42 ++++++++++++++++++++++++++++++++++-------- 1 files changed, 34 insertions(+), 8 deletions(-) diff --git a/DocumentServiceAPI.Application/applicationsettings.json b/DocumentServiceAPI.Application/applicationsettings.json index fe875bc..9ba3089 100644 --- a/DocumentServiceAPI.Application/applicationsettings.json +++ b/DocumentServiceAPI.Application/applicationsettings.json @@ -3,24 +3,50 @@ "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", -- Gitblit v1.9.1