7 changed files with 225 additions and 58 deletions
@ -1,17 +1,61 @@ |
|||||
{ |
{ |
||||
"NacosConfig": { |
"App": { |
||||
"Listeners": [ |
"SelfUrl": "https://localhost:44363", |
||||
{ |
"CorsOrigins": "https://*.Zzz.com,http://localhost:8083,http://localhost:8081,https://localhost:44307," |
||||
"Optional": false, |
}, |
||||
"DataId": "Zzz", |
"StringEncryption": { |
||||
"Group": "Ali" |
"DefaultPassPhrase": "MY2bTgp2iaHUEp66" |
||||
|
}, |
||||
|
"Settings": { |
||||
|
"Abp.Mailing.Smtp.Host": "127.0.0.1", |
||||
|
"Abp.Mailing.Smtp.Port": "25", |
||||
|
"Abp.Mailing.Smtp.UserName": "", |
||||
|
"Abp.Mailing.Smtp.Password": "", |
||||
|
"Abp.Mailing.Smtp.Domain": "", |
||||
|
"Abp.Mailing.Smtp.EnableSsl": "false", |
||||
|
"Abp.Mailing.Smtp.UseDefaultCredentials": "true", |
||||
|
"Abp.Mailing.DefaultFromAddress": "noreply@abp.io", |
||||
|
"Abp.Mailing.DefaultFromDisplayName": "ABP application" |
||||
|
}, |
||||
|
"Serilog": { |
||||
|
"MinimumLevel": { |
||||
|
"Default": "Information", |
||||
|
"Override": { |
||||
|
"Microsoft": "Information", |
||||
|
"Microsoft.AspNetCore": "Information", |
||||
|
"System": "Warning", |
||||
|
"Microsoft.Hosting.Lifetime": "Information", |
||||
|
"Microsoft.AspNetCore.Routing": "Information", |
||||
|
"Microsoft.AspNetCore.Hosting.Diagnostics": "Error" |
||||
} |
} |
||||
], |
} |
||||
"Optional": false, |
}, |
||||
"Tenant": "erp", |
"ConnectionStrings": { |
||||
"ServerAddresses": [ "http://nacos.zzz.cn/" ], |
"Default": "Data Source=mysql.development.cn;Database=zzz.db;uid=root;pwd=mysql@;charset=utf8mb4;Allow User Variables=true;AllowLoadLocalInfile=true" |
||||
"UserName": "erp.app", |
}, |
||||
"Password": "Yh@1234" |
"Cache": { |
||||
|
"Redis": { |
||||
|
"ConnectionString": "redis.cn,password=OD5VbzIuAWsHOZV5ncYx9xaDsAMsKXn7", |
||||
|
"DatabaseId": 231 |
||||
|
} |
||||
|
}, |
||||
|
"AuthServer": { |
||||
|
"Authority": "https://localhost:44363", |
||||
|
"RequireHttpsMetadata": "false" |
||||
|
}, |
||||
|
"Jwt": { |
||||
|
"Audience": "http://localhost:5010", //客户端标识 |
||||
|
"SecurityKey": "dzehzRz9a8asdfasfdadfasdfasdfafsdadfasbasdf=", |
||||
|
"Issuer": "Zzz", //签发者 |
||||
|
"ExpirationTime": 2 //过期时间 hour |
||||
|
}, |
||||
|
"LogToElasticSearch": { |
||||
|
"Enabled": "true", |
||||
|
"ElasticSearch": { |
||||
|
"Url": "http://es.cn", |
||||
|
"IndexFormat": "Zzz.admin.api.dev-{0:yyyy.MM.dd}", |
||||
|
"UserName": "Zzz", |
||||
|
"Password": "TCYobkZxWu0ELYZY" |
||||
|
} |
||||
} |
} |
||||
|
} |
||||
} |
|
||||
@ -1,17 +1,61 @@ |
|||||
{ |
{ |
||||
"NacosConfig": { |
"App": { |
||||
"Listeners": [ |
"SelfUrl": "https://localhost:44363", |
||||
{ |
"CorsOrigins": "https://*.Zzz.com,http://localhost:8083,http://localhost:8081,https://localhost:44307," |
||||
"Optional": false, |
}, |
||||
"DataId": "Zzz", |
"StringEncryption": { |
||||
"Group": "Staging" |
"DefaultPassPhrase": "MY2bTgp2iaHUEp66" |
||||
|
}, |
||||
|
"Settings": { |
||||
|
"Abp.Mailing.Smtp.Host": "127.0.0.1", |
||||
|
"Abp.Mailing.Smtp.Port": "25", |
||||
|
"Abp.Mailing.Smtp.UserName": "", |
||||
|
"Abp.Mailing.Smtp.Password": "", |
||||
|
"Abp.Mailing.Smtp.Domain": "", |
||||
|
"Abp.Mailing.Smtp.EnableSsl": "false", |
||||
|
"Abp.Mailing.Smtp.UseDefaultCredentials": "true", |
||||
|
"Abp.Mailing.DefaultFromAddress": "noreply@abp.io", |
||||
|
"Abp.Mailing.DefaultFromDisplayName": "ABP application" |
||||
|
}, |
||||
|
"Serilog": { |
||||
|
"MinimumLevel": { |
||||
|
"Default": "Information", |
||||
|
"Override": { |
||||
|
"Microsoft": "Information", |
||||
|
"Microsoft.AspNetCore": "Information", |
||||
|
"System": "Warning", |
||||
|
"Microsoft.Hosting.Lifetime": "Information", |
||||
|
"Microsoft.AspNetCore.Routing": "Information", |
||||
|
"Microsoft.AspNetCore.Hosting.Diagnostics": "Error" |
||||
} |
} |
||||
], |
} |
||||
"Optional": false, |
}, |
||||
"Tenant": "erp", |
"ConnectionStrings": { |
||||
"ServerAddresses": [ "http://nacos.zzz.cn/" ], |
"Default": "Data Source=mysql.development.cn;Database=zzz.db;uid=root;pwd=mysql@;charset=utf8mb4;Allow User Variables=true;AllowLoadLocalInfile=true" |
||||
"UserName": "erp.app", |
}, |
||||
"Password": "Yh@1234" |
"Cache": { |
||||
|
"Redis": { |
||||
|
"ConnectionString": "redis.cn,password=OD5VbzIuAWsHOZV5ncYx9xaDsAMsKXn7", |
||||
|
"DatabaseId": 231 |
||||
|
} |
||||
|
}, |
||||
|
"AuthServer": { |
||||
|
"Authority": "https://localhost:44363", |
||||
|
"RequireHttpsMetadata": "false" |
||||
|
}, |
||||
|
"Jwt": { |
||||
|
"Audience": "http://localhost:5010", //客户端标识 |
||||
|
"SecurityKey": "dzehzRz9a8asdfasfdadfasdfasdfafsdadfasbasdf=", |
||||
|
"Issuer": "Zzz", //签发者 |
||||
|
"ExpirationTime": 2 //过期时间 hour |
||||
|
}, |
||||
|
"LogToElasticSearch": { |
||||
|
"Enabled": "true", |
||||
|
"ElasticSearch": { |
||||
|
"Url": "http://es.cn", |
||||
|
"IndexFormat": "Zzz.admin.api.dev-{0:yyyy.MM.dd}", |
||||
|
"UserName": "Zzz", |
||||
|
"Password": "TCYobkZxWu0ELYZY" |
||||
|
} |
||||
} |
} |
||||
|
} |
||||
} |
|
||||
@ -1,17 +1,61 @@ |
|||||
{ |
{ |
||||
"NacosConfig": { |
"App": { |
||||
"Listeners": [ |
"SelfUrl": "https://localhost:44363", |
||||
{ |
"CorsOrigins": "https://*.Zzz.com,http://localhost:8083,http://localhost:8081,https://localhost:44307," |
||||
"Optional": false, |
}, |
||||
"DataId": "Zzz", |
"StringEncryption": { |
||||
"Group": "Development" |
"DefaultPassPhrase": "MY2bTgp2iaHUEp66" |
||||
|
}, |
||||
|
"Settings": { |
||||
|
"Abp.Mailing.Smtp.Host": "127.0.0.1", |
||||
|
"Abp.Mailing.Smtp.Port": "25", |
||||
|
"Abp.Mailing.Smtp.UserName": "", |
||||
|
"Abp.Mailing.Smtp.Password": "", |
||||
|
"Abp.Mailing.Smtp.Domain": "", |
||||
|
"Abp.Mailing.Smtp.EnableSsl": "false", |
||||
|
"Abp.Mailing.Smtp.UseDefaultCredentials": "true", |
||||
|
"Abp.Mailing.DefaultFromAddress": "noreply@abp.io", |
||||
|
"Abp.Mailing.DefaultFromDisplayName": "ABP application" |
||||
|
}, |
||||
|
"Serilog": { |
||||
|
"MinimumLevel": { |
||||
|
"Default": "Information", |
||||
|
"Override": { |
||||
|
"Microsoft": "Information", |
||||
|
"Microsoft.AspNetCore": "Information", |
||||
|
"System": "Warning", |
||||
|
"Microsoft.Hosting.Lifetime": "Information", |
||||
|
"Microsoft.AspNetCore.Routing": "Information", |
||||
|
"Microsoft.AspNetCore.Hosting.Diagnostics": "Error" |
||||
} |
} |
||||
], |
} |
||||
"Optional": false, |
}, |
||||
"Tenant": "erp", |
"ConnectionStrings": { |
||||
"ServerAddresses": [ "http://nacos.zzz.cn/" ], |
"Default": "Data Source=mysql.development.cn;Database=zzz.db;uid=root;pwd=mysql@;charset=utf8mb4;Allow User Variables=true;AllowLoadLocalInfile=true" |
||||
"UserName": "erp.app", |
}, |
||||
"Password": "Yh@1234" |
"Cache": { |
||||
|
"Redis": { |
||||
|
"ConnectionString": "redis.cn,password=OD5VbzIuAWsHOZV5ncYx9xaDsAMsKXn7", |
||||
|
"DatabaseId": 231 |
||||
|
} |
||||
|
}, |
||||
|
"AuthServer": { |
||||
|
"Authority": "https://localhost:44363", |
||||
|
"RequireHttpsMetadata": "false" |
||||
|
}, |
||||
|
"Jwt": { |
||||
|
"Audience": "http://localhost:5010", //客户端标识 |
||||
|
"SecurityKey": "dzehzRz9a8asdfasfdadfasdfasdfafsdadfasbasdf=", |
||||
|
"Issuer": "Zzz", //签发者 |
||||
|
"ExpirationTime": 2 //过期时间 hour |
||||
|
}, |
||||
|
"LogToElasticSearch": { |
||||
|
"Enabled": "true", |
||||
|
"ElasticSearch": { |
||||
|
"Url": "http://es.cn", |
||||
|
"IndexFormat": "Zzz.admin.api.dev-{0:yyyy.MM.dd}", |
||||
|
"UserName": "Zzz", |
||||
|
"Password": "TCYobkZxWu0ELYZY" |
||||
|
} |
||||
} |
} |
||||
|
} |
||||
} |
|
||||
@ -1,16 +1,29 @@ |
|||||
{ |
{ |
||||
"NacosConfig": { |
"Logging": { |
||||
"Listeners": [ |
"LogLevel": { |
||||
{ |
"Default": "Information", |
||||
"Optional": false, |
"Microsoft": "Warning", |
||||
"DataId": "ZzzPublicApiHost", |
"Microsoft.Hosting.Lifetime": "Information" |
||||
"Group": "Development" |
} |
||||
} |
}, |
||||
], |
"AllowedHosts": "*", |
||||
"Optional": false, |
"LogToElasticSearch": { |
||||
"Tenant": "erp", |
"Enabled": "true", |
||||
"ServerAddresses": [ "http://nacos.platform.yhglobal.cn/" ], |
"ElasticSearch": { |
||||
"UserName": "erp.app", |
"Url": "http://es.platform.cn", |
||||
"Password": "Yh@1234" |
"IndexFormat": "Zzz.public.api.dev-{0:yyyy.MM.dd}", |
||||
|
"UserName": "erp", |
||||
|
"Password": "TCYobkZxWu0ELYZY" |
||||
|
} |
||||
|
}, |
||||
|
"AuthServer": { |
||||
|
"Authority": "http://sts.vnext.identity.development.cn", |
||||
|
"RequireHttpsMetadata": "false", |
||||
|
"ApiName": "ZzzPublicApi" |
||||
|
}, |
||||
|
"RemoteServices": { |
||||
|
"Zzz": { |
||||
|
"BaseUrl": "http://localhost:50000/" |
||||
|
} |
||||
} |
} |
||||
} |
} |
||||
Loading…
Reference in new issue