mirror of
https://gitee.com/dotnetchina/OpenAuth.Net.git
synced 2025-11-10 03:14:45 +08:00
增加PostgreSQL支持;
修复DES加密
This commit is contained in:
@@ -19,7 +19,7 @@ namespace OpenAuth.WebApi.Model
|
||||
.Cast<ApiExplorerSettingsAttribute>().FirstOrDefault();
|
||||
if (apiExplorerSettings != null && !string.IsNullOrWhiteSpace(apiExplorerSettings.GroupName))
|
||||
{
|
||||
operation.Tags = new List<OpenApiTag> {new OpenApiTag {Name = apiExplorerSettings.GroupName}};
|
||||
operation.Tags = new List<OpenApiTag> { new OpenApiTag { Name = apiExplorerSettings.GroupName } };
|
||||
}
|
||||
else
|
||||
{
|
||||
@@ -27,7 +27,6 @@ namespace OpenAuth.WebApi.Model
|
||||
{new OpenApiTag {Name = controllerActionDescriptor.ControllerName}};
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -15,7 +15,7 @@
|
||||
"IdentityServerUrl": "", //IdentityServer服务器地址。如果为空,则不启用OAuth认证
|
||||
//"IdentityServerUrl": "http://demo.openauth.net.cn:12796", //IdentityServer服务器地址。如果为空,则不启用OAuth认证
|
||||
"DbTypes": {
|
||||
"OpenAuthDBContext":"MySql" //数据库类型:SqlServer、MySql、Oracle
|
||||
"OpenAuthDBContext":"MySql" //数据库类型:SqlServer、MySql、Oracle、PostgreSQL
|
||||
},
|
||||
"UploadPath": "", //附件上传的路径,如果为空则保存在站点根目录
|
||||
"RedisConf": "your_redis_server:6379,password=your_redis_password", //redis配置信息
|
||||
|
||||
@@ -7,20 +7,23 @@
|
||||
"AllowedHosts": "*",
|
||||
"DataProtection": "temp-keys/",
|
||||
"ConnectionStrings": {
|
||||
"OpenAuthDBContext": "Data Source=.;Initial Catalog=OpenAuthPro;User=sa;Password=000000"
|
||||
"OpenAuthDBContext": "Data Source=.;Initial Catalog=OpenAuthDB;User=sa;Password=000000"
|
||||
//"OpenAuthDBContext": "server=127.0.0.1;user id=root;database=openauthdb;password=000000" //my sql
|
||||
//"OpenAuthDBContext": "Host=localhost;Port=5432;Database=OpenAuth;Username=postgres;Password=123;" //PostgreSQL
|
||||
//"OpenAuthDBContext2": "DATA SOURCE=192.168.0.118:1521/YUBAO;PASSWORD=000000;Validate Connection=true;PERSIST SECURITY INFO=True;USER ID=yubaolee;" //Oracle
|
||||
//"OpenAuthDBContext3": "server=127.0.0.1;user id=root;database=openauthpro;password=000000" //my sql
|
||||
},
|
||||
"AppSetting": {
|
||||
"IdentityServerUrl": "", //IdentityServer服务器地址。如果为空,则不启用OAuth认证
|
||||
// "IdentityServerUrl": "http://localhost:12796", //IdentityServer服务器地址。如果为空,则不启用OAuth认证
|
||||
"IdentityServerUrl": "", //IdentityServer服务器地址。如果为空,则不启用OAuth认证
|
||||
// "IdentityServerUrl": "http://localhost:12796", //IdentityServer服务器地址。如果为空,则不启用OAuth认证
|
||||
"DbTypes": {
|
||||
"OpenAuthDBContext":"SqlServer" //数据库类型:SqlServer、MySql、Oracle
|
||||
// ,"OpenAuthDBContext2":"Oracle"
|
||||
// ,"OpenAuthDBContext3":"MySql"
|
||||
},
|
||||
"UploadPath": "", //附件上传的路径,如果为空则保存在站点根目录
|
||||
"OpenAuthDBContext": "SqlServer" //数据库类型:SqlServer、MySql、Oracle、PostgreSQL
|
||||
// "OpenAuthDBContext":"PostgreSQL"
|
||||
// ,"OpenAuthDBContext2":"Oracle"
|
||||
// ,"OpenAuthDBContext3":"MySql"
|
||||
},
|
||||
"UploadPath": "", //附件上传的路径,如果为空则保存在站点根目录
|
||||
"RedisConf": "redistest.cq-p.com.cn:8001,password=share_redis@123", //redis配置
|
||||
"HttpHost": "http://*:52789" //启动绑定地址及端口
|
||||
"HttpHost": "http://*:52789" //启动绑定地址及端口
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user