From 32aca8c6a8ef46768ef302d01cd32cf30a443101 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=99=88=E6=B7=B3?= <454313500@qq.com> Date: Mon, 29 Apr 2024 14:44:46 +0800 Subject: [PATCH] =?UTF-8?q?chorm:=20=E4=BF=AE=E6=94=B9=E6=9E=84=E5=BB=BA?= =?UTF-8?q?=E7=8E=AF=E5=A2=83?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Yi.Abp.Web/Properties/launchSettings.json | 4 +- .../src/Yi.Abp.Web/appsettings.Staging.json | 87 ------------------- 2 files changed, 2 insertions(+), 89 deletions(-) delete mode 100644 Yi.Abp.Net8/src/Yi.Abp.Web/appsettings.Staging.json diff --git a/Yi.Abp.Net8/src/Yi.Abp.Web/Properties/launchSettings.json b/Yi.Abp.Net8/src/Yi.Abp.Web/Properties/launchSettings.json index 8f58fa9b..23290bd1 100644 --- a/Yi.Abp.Net8/src/Yi.Abp.Web/Properties/launchSettings.json +++ b/Yi.Abp.Net8/src/Yi.Abp.Web/Properties/launchSettings.json @@ -5,8 +5,8 @@ "launchBrowser": true, "launchUrl": "swagger", "environmentVariables": { - //"ASPNETCORE_ENVIRONMENT": "Development", - "ASPNETCORE_ENVIRONMENT": "Staging" + "ASPNETCORE_ENVIRONMENT": "Development" + //"ASPNETCORE_ENVIRONMENT": "Staging" }, "dotnetRunMessages": true, "applicationUrl": "http://localhost:19001" diff --git a/Yi.Abp.Net8/src/Yi.Abp.Web/appsettings.Staging.json b/Yi.Abp.Net8/src/Yi.Abp.Web/appsettings.Staging.json deleted file mode 100644 index 05bb666b..00000000 --- a/Yi.Abp.Net8/src/Yi.Abp.Web/appsettings.Staging.json +++ /dev/null @@ -1,87 +0,0 @@ -{ - "Logging": { - "LogLevel": { - //"Default": "Information", - "Default": "Debug", - "Microsoft.AspNetCore": "Warning" - } - }, - //应用启动 - "App": { - "SelfUrl": "http://*:19001", - "CorsOrigins": "http://localhost:19001;http://localhost:18000" - }, - - //数据库类型列表 - "DbList": [ "Sqlite", "Mysql", "Sqlserver", "Oracle" ], - - "DbConnOptions": { - "Url": "DataSource=yi-abp-dev.db", - "DbType": "Sqlite", - "EnabledReadWrite": false, - "EnabledCodeFirst": true, - "EnabledSqlLog": true, - "EnabledDbSeed": true, - //SAAS多租户 - "EnabledSaasMultiTenancy": false - //读写分离地址 - //"ReadUrl": [ - // "DataSource=[xxxx]", //Sqlite - // "server=[xxxx];port=3306;database=[xxxx];user id=[xxxx];password=[xxxx]", //Mysql - // "Data Source=[xxxx];Initial Catalog=[xxxx];User ID=[xxxx];password=[xxxx]" //Sqlserver - //] - }, - - //redis使用freeesql参数在“FreeSqlOptions的ConnectionStringBuilder中” - "Redis": { - "IsEnabled": false, - "Configuration": "127.0.0.1:6379,password=123,defaultDatabase=13" - }, - - //鉴权 - "JwtOptions": { - "Issuer": "https://ccnetcore.com", - "Audience": "https://ccnetcore.com", - "SecurityKey": "zqxwcevrbtnymu312412ihe9rfwhe78rh23djoi32hrui3ryf9e8wfh34iuj54y0934uti4h97fgw7hf97wyh8yy69520", - "ExpiresMinuteTime": 86400 - }, - //刷新token - "RefreshJwtOptions": { - "Issuer": "https://yi.ccnetcore.com", - "Audience": "https://yi.ccnetcore.com", - "SecurityKey": "67ij4o6jo4i5j6io45j6i4j74p5k6i54ojoi5t9g8ergoj34ofgkrtbmreog894jbioemgropihj48rj4io5juopjgior", - "ExpiresMinuteTime": 172800 - }, - - - //第三方登录 - "OAuth": { - //QQ - "QQ": { - "ClientId": "", - "ClientSecret": "", - "RedirectUri": "" - }, - //码云 - "Gitee": { - "ClientId": "", - "ClientSecret": "", - "RedirectUri": "" - } - }, - - //Rbac模块 - "RbacOptions": { - //超级管理员种子数据默认密码 - "AdminPassword": "123456", - - //是否开启验证码验证 - "EnableCaptcha": true, - - //是否开启注册功能 - "EnableRegister": false, - - //开启定时数据库备份 - "EnableDataBaseBackup": false - } -}