Skip to content

Commit

Permalink
docs: change Server ip address
Browse files Browse the repository at this point in the history
  • Loading branch information
AlphaYu committed Oct 13, 2023
1 parent ed8e1db commit 88bd0b3
Show file tree
Hide file tree
Showing 8 changed files with 15 additions and 18 deletions.
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
{
"Mysql": {
"ConnectionString": "Server=114.132.157.167;Port=13308;database=adnc_cust_dev;uid=root;pwd=alpha.netcore;connection timeout=10;"
"ConnectionString": "Server=110.41.128.244;Port=13308;database=adnc_cust_dev;uid=root;pwd=alpha.netcore;connection timeout=10;"
},
"Redis": {
"EnableBloomFilter": false,
"Dbconfig": {
"ConnectionString": "114.132.157.167:13379,password=football,defaultDatabase=2,ssl=false,sslHost=null,connectTimeout=4000,allowAdmin=true"
"ConnectionString": "110.41.128.244:13379,password=football,defaultDatabase=2,ssl=false,sslHost=null,connectTimeout=4000,allowAdmin=true"
}
},
"Kestrel": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,6 @@ public NoticeController(
[HttpGet()]
public async Task<ActionResult<List<NoticeDto>>> GetList([FromQuery] NoticeSearchDto search)
{
if (_userContext is null || _userContext.Id == 0)
return await Task.FromResult(new List<NoticeDto>());
else
return Result(await _noticeService.GetListAsync(search));
}
}
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
{
"Mysql": {
"ConnectionString": "Server=114.132.157.167;Port=13308;database=adnc_maint_dev;uid=root;pwd=alpha.netcore;connection timeout=10;"
"ConnectionString": "Server=110.41.128.244;Port=13308;database=adnc_maint_dev;uid=root;pwd=alpha.netcore;connection timeout=10;"
},
"Redis": {
"EnableBloomFilter": false,
"Dbconfig": {
"ConnectionString": "114.132.157.167:13379,password=football,defaultDatabase=1,ssl=false,sslHost=null,connectTimeout=4000,allowAdmin=true"
"ConnectionString": "110.41.128.244:13379,password=football,defaultDatabase=1,ssl=false,sslHost=null,connectTimeout=4000,allowAdmin=true"
}
},
"Kestrel": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ public async Task<AppSrvResult<long>> CreateAsync(DictCreationDto input)
var dict = new Dict { Id = id, Name = input.Name, Value = input.Value, Ordinal = input.Ordinal, Pid = 0 };

dists.Add(dict);
input.Children?.ForEach(x =>
input.Children.ForEach(x =>
{
dists.Add(new Dict
{
Expand Down Expand Up @@ -60,7 +60,7 @@ public async Task<AppSrvResult> UpdateAsync(long id, DictUpdationDto input)
var dict = new Dict { Name = input.Name, Value = input.Value, Id = id, Pid = 0, Ordinal = input.Ordinal };

var subDicts = new List<Dict>();
input.Children?.ForEach(x =>
input.Children.ForEach(x =>
{
subDicts.Add(new Dict
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
{
"Mysql": {
"ConnectionString": "Server=114.132.157.167;Port=13308;database=adnc_ord_dev;uid=root;pwd=alpha.netcore;connection timeout=10;"
"ConnectionString": "Server=110.41.128.244;Port=13308;database=adnc_ord_dev;uid=root;pwd=alpha.netcore;connection timeout=10;"
},
"Redis": {
"EnableBloomFilter": false,
"Dbconfig": {
"ConnectionString": "114.132.157.167:13379,password=football,defaultDatabase=3,ssl=false,sslHost=null,connectTimeout=4000,allowAdmin=true"
"ConnectionString": "110.41.128.244:13379,password=football,defaultDatabase=3,ssl=false,sslHost=null,connectTimeout=4000,allowAdmin=true"
}
},
"Kestrel": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -51,12 +51,12 @@
"Timeout": 6
},
"MongoDb": {
"ConnectionString": "mongodb://alpha:football@114.132.157.167:13017/logs_dev?authSource=logs_dev",
"ConnectionString": "mongodb://alpha:football@110.41.128.244:13017/logs_dev?authSource=logs_dev",
"CollectionNamingConvention": 2,
"PluralizeCollectionNames": true
},
"RabbitMq": {
"HostName": "114.132.157.167",
"HostName": "110.41.128.244",
"Password": "adncdev.123",
"Port": "13572",
"UserName": "adncdev",
Expand Down Expand Up @@ -100,7 +100,7 @@
"QueueSize": 30000,
"BatchSize": 3000,
"gRPC": {
"Servers": "114.132.157.167:11800",
"Servers": "110.41.128.244:11800",
"Timeout": 10000,
"ConnectTimeout": 10000,
"ReportTimeout": 600000,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
{
"Mysql": {
"ConnectionString": "Server=114.132.157.167;Port=13308;database=adnc_usr_dev;uid=root;pwd=alpha.netcore;connection timeout=30;"
"ConnectionString": "Server=110.41.128.244;Port=13308;database=adnc_usr_dev;uid=root;pwd=alpha.netcore;connection timeout=30;"
},
"Redis": {
"EnableBloomFilter": false,
"Dbconfig": {
"ConnectionString": "114.132.157.167:13379,password=football,defaultDatabase=0,ssl=false,sslHost=null,connectTimeout=4000,allowAdmin=true"
"ConnectionString": "110.41.128.244:13379,password=football,defaultDatabase=0,ssl=false,sslHost=null,connectTimeout=4000,allowAdmin=true"
}
},
"Kestrel": {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
{
"SqlServer": {
"ConnectionString": "Data Source=114.132.157.167;Initial Catalog=adnc_whse_dev;User Id=sa;Password=Adnc_6666; "
"ConnectionString": "Data Source=110.41.128.244;Initial Catalog=adnc_whse_dev;User Id=sa;Password=Adnc_6666; "
},
"Redis": {
"EnableBloomFilter": false,
"Dbconfig": {
"ConnectionString": "114.132.157.167:13379,password=football,defaultDatabase=4,ssl=false,sslHost=null,connectTimeout=4000,allowAdmin=true"
"ConnectionString": "110.41.128.244:13379,password=football,defaultDatabase=4,ssl=false,sslHost=null,connectTimeout=4000,allowAdmin=true"
}
},
"Kestrel": {
Expand Down

0 comments on commit 88bd0b3

Please sign in to comment.