From bdfd7fef242a519aac505d83591e11e2aa75f75e Mon Sep 17 00:00:00 2001 From: liaoxujun@qq.com <liaoxujun@qq.com> Date: 星期二, 01 八月 2023 17:14:28 +0800 Subject: [PATCH] 完成租户用户同一api登录,新增加租户表,租户关联表, 员工表增加TenderID 字段 需要增加表只需要将 appset codefirst设置为true 运行将自动更新表结构 --- DocumentServiceAPI.Application/applicationsettings.json | 53 +++++++++++++++++++++++++++++++++++++++-------------- 1 files changed, 39 insertions(+), 14 deletions(-) diff --git a/DocumentServiceAPI.Application/applicationsettings.json b/DocumentServiceAPI.Application/applicationsettings.json index 8911167..9ba3089 100644 --- a/DocumentServiceAPI.Application/applicationsettings.json +++ b/DocumentServiceAPI.Application/applicationsettings.json @@ -3,25 +3,50 @@ "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", -- Gitblit v1.9.1