Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commita224d84

Browse files
committed
1。修改配置文件
2。修改引用冲突问题
1 parentbcb11c8 commita224d84

File tree

3 files changed

+30
-35
lines changed

3 files changed

+30
-35
lines changed

‎src/Destiny.Core.Flow.API/Filters/PermissionAuthorizationFilter.cs‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,6 @@ public async Task OnAuthorizationAsync(AuthorizationFilterContext context)
134134
if(!result1.Success)
135135
{
136136
////????不包含的时候怎么返回出去?这个请求终止掉
137-
///
138137
_logger.LogError($"此{linkurl}地址没有权限");
139138

140139
result.Message=MessageDefinitionType.Uncertified;

‎src/Destiny.Core.Flow.API/appsettings.Development.json‎

Lines changed: 29 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -1,39 +1,15 @@
11
{
2-
"Logging": {
2+
"AllowedHosts":"*",
3+
"Console": {
34
"LogLevel": {
4-
"Default":"Information",
5-
"Microsoft":"Warning",
6-
"Microsoft.Hosting.Lifetime":"Information"
7-
}
8-
},
9-
"Serilog": {
10-
"MinimumLevel": {
11-
"Default":"Information",
12-
"Override": {
13-
"Microsoft":"Information"
14-
}
5+
"Default":"Information"
156
}
167
},
17-
"Service": {
18-
"Name":"Destiny.Core.Flow.API",
19-
"Port":"80",
20-
"Version":"v1",
21-
"DocName":"Destiny.Core.Flow.API",
22-
"Title":"Destiny.Core.Flow.API Client Service API",
23-
"Description":"Destiny.Core.Flow.API Client Service API provide some API to help you get OA information",
24-
"XmlFile":"Destiny.Core.Flow.API.xml"
25-
},
268
// 配置Consul中心
279
"Consul": {
2810
"IP":"1065.cloud",
2911
"Port":"8863"
3012
},
31-
"Console": {
32-
"LogLevel": {
33-
"Default":"Information"
34-
}
35-
},
36-
"AllowedHosts":"*",
3713
"Destiny": {
3814
"AopManager": {
3915
"AopTran": {
@@ -79,12 +55,8 @@
7955
"IsAddSeedData":false//是否添加种子数据
8056
},
8157
"MongoDBs": {
82-
"MongoDBConnectionString":"DestinyCoreMongoDb.txt",//开发用数据库
83-
84-
},
85-
"MongoDBs": {
86-
"MongoDBConnectionString":"DestinyCoreMongoDb.txt",//开发用数据库
87-
58+
"MongoDBConnectionString":"DestinyCoreMongoDb.txt"//开发用数据库
59+
8860
},
8961
"Redis": {
9062
"ConnectionString":"DestinyCoreRedis.txt"
@@ -95,5 +67,29 @@
9567
"Url":"/swagger/v1/swagger.json",
9668
"Html":"Destiny.Core.Flow.API.index.html"
9769
}
70+
},
71+
"Logging": {
72+
"LogLevel": {
73+
"Default":"Information",
74+
"Microsoft":"Warning",
75+
"Microsoft.Hosting.Lifetime":"Information"
76+
}
77+
},
78+
"Serilog": {
79+
"MinimumLevel": {
80+
"Default":"Information",
81+
"Override": {
82+
"Microsoft":"Information"
83+
}
84+
}
85+
},
86+
"Service": {
87+
"Name":"Destiny.Core.Flow.API",
88+
"Port":"80",
89+
"Version":"v1",
90+
"DocName":"Destiny.Core.Flow.API",
91+
"Title":"Destiny.Core.Flow.API Client Service API",
92+
"Description":"Destiny.Core.Flow.API Client Service API provide some API to help you get OA information",
93+
"XmlFile":"Destiny.Core.Flow.API.xml"
9894
}
9995
}

‎src/Destiny.Core.Flow.Model/Destiny.Core.Flow.Model.csproj‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
<PackageReferenceInclude="DestinyCore.FluentValidation"Version="1.0.1" />
1111
<PackageReferenceInclude="DestinyCore.TestBase"Version="1.0.1" />
1212
<PackageReferenceInclude="DestinyCore.AutoMapper"Version="1.0.1" />
13-
<PackageReferenceInclude="Microsoft.EntityFrameworkCore.Design"Version="5.0.7">
13+
<PackageReferenceInclude="Microsoft.EntityFrameworkCore.Design"Version="5.0.6">
1414
<PrivateAssets>all</PrivateAssets>
1515
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
1616
</PackageReference>

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp