feat: 添加模块控制器分组功能

This commit is contained in:
橙子
2023-09-15 23:56:59 +08:00
parent a0b35f4233
commit 65a0a6fb92
2 changed files with 18 additions and 24 deletions

View File

@@ -53,8 +53,6 @@ public class Startup : AppStartup
});
services.AddMonitorLogging();
services.AddHealthChecks();
}
public void Configure(IApplicationBuilder app, IWebHostEnvironment env)
@@ -63,7 +61,6 @@ public class Startup : AppStartup
{
app.UseDeveloperExceptionPage();
}
app.UseHealthChecks();
app.UseHttpsRedirection();
app.UseRouting();

View File

@@ -14,27 +14,24 @@
"StartUrl": "http://*:19001",
//swagger配置
"SpecificationDocumentSettings": {
"GroupOpenApiInfos": [
{
"Group": "RBAC",
"Order": 100,
"Title": "Yi框架-云Api接口",
"Description": "集大成者,终究轮子",
"Version": "v3.0.0",
"TermsOfService": "YI框架:https://ccnetcore.com与Furion:http://furion.baiqian.ltd",
"Contact": {
"Name": "橙子",
"Url": "https://ccnetcore.com",
"Email": "454313500@qq.com"
},
"License": {
"Name": "MIT",
"Url": "https://gitee.com/ccnetcore/Yi/blob/furion/LICENSE"
}
}
]
"[openapi:RBAC]": {
"Group": "RBAC",
"Order": 100,
"Title": "Yi框架-云端Api接口-RBAC",
"Description": "集大成者,终究轮子。【右上角切换模块】",
"Version": "v3.0.0",
"TermsOfService": "YI框架:https://ccnetcore.com与Furion:http://furion.baiqian.ltd",
"Contact": {
"Name": "橙子",
"Url": "https://ccnetcore.com",
"Email": "454313500@qq.com"
},
"License": {
"Name": "MIT",
"Url": "https://gitee.com/ccnetcore/Yi/blob/furion/LICENSE"
}
},
//数据库类型列表