From a161b6f9ad92f645c20fb3b35ad5617490e7f6d2 Mon Sep 17 00:00:00 2001 From: username@email.com <yzy2002yzy@163.com> Date: 星期四, 31 八月 2023 13:13:35 +0800 Subject: [PATCH] Merge branch 'master' of http://47.108.235.38:8080/r/DocumentService --- DocumentServiceAPI.Application/applicationsettings.json | 66 ++++++++++++++++++++++++++------- 1 files changed, 52 insertions(+), 14 deletions(-) diff --git a/DocumentServiceAPI.Application/applicationsettings.json b/DocumentServiceAPI.Application/applicationsettings.json index 8911167..188c419 100644 --- a/DocumentServiceAPI.Application/applicationsettings.json +++ b/DocumentServiceAPI.Application/applicationsettings.json @@ -3,30 +3,68 @@ "SpecificationDocumentSettings": { "DocumentTitle": "Furion | 瑙勮寖鍖栨帴鍙�", "GroupOpenApiInfos": [ - - { - "Group": "Default", - "Title": "鏍囦功绠$悊绯荤粺鏈嶅姟", - "Description": "杩欎釜涓�涓緢濂界敤鏍囦功绠$悊绯荤粺鏈嶅姟杞欢", - "Version": "1.0.0", - "Contact": { - "Name": "鏀块噰鍜ㄨ鏈夐檺鍏徃", - "Url": "http://www.51zhengcai.com" - }, - "License": { - "Name": "鏀块噰鍜ㄨ鏈夐檺鍏徃", - "Url": "http://www.51zhengcai.com" - } + { + "Group": "Default", + "Title": "鏍囦功绠$悊绯荤粺鏈嶅姟", + "Description": "杩欎釜涓�涓緢濂界敤鏍囦功绠$悊绯荤粺鏈嶅姟杞欢", + "Version": "1.0.0", + "Contact": { + "Name": "鏀块噰鍜ㄨ鏈夐檺鍏徃", + "Url": "http://www.51zhengcai.com" + + }, + "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