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

Commit0459955

Browse files
committed
修改数据字典
1 parent1ef2a35 commit0459955

File tree

4 files changed

+8
-5
lines changed

4 files changed

+8
-5
lines changed

‎src/Destiny.Core.Flow.API/Controllers/DataDictionary/DataDictionaryController.cs‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,8 @@ public async Task<AjaxResult> UpdateAsync(DataDictionnaryInputDto input)
5252
[Description("异步创建数据字典")]
5353

5454
publicasyncTask<AjaxResult>CreateAsync([FromBody]DataDictionnaryInputDtodto)
55-
{
55+
{
56+
5657
return(await_dataDictionnaryServices.CreateAsync(dto)).ToAjaxResult();
5758
}
5859
/// <summary>

‎src/Destiny.Core.Flow.API/Startups/AppWebModule.cs‎

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,12 +22,10 @@ namespace Destiny.Core.Flow.API.Startups
2222
typeof(FunctionModule),
2323
typeof(EntityFrameworkCoreModule),
2424
typeof(AutoMapperModule),
25-
//typeof(CachingDefaultModule), //普通缓存
2625
typeof(CSRedisModule),//redis缓存
2726
typeof(MongoDBModelule),
2827
typeof(MigrationModule),
2928
typeof(CodeGeneratorModeule)
30-
//typeof(FluentValidationModuleBase)
3129

3230
)]
3331
publicclassAppWebModule:AppModule

‎src/Destiny.Core.Flow.API/Startups/AspNetCoreSwaggerModule.cs‎

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,8 @@
1-
usingDestinyCore.Swagger;
1+
usingDestinyCore.Exceptions;
2+
usingDestinyCore.Extensions;
3+
usingDestinyCore.Modules;
4+
usingDestinyCore.Swagger;
5+
usingMicrosoft.Extensions.Configuration;
26
usingSystem;
37
usingSystem.Collections.Generic;
48
usingSystem.IO;

‎src/Destiny.Core.Flow.Dtos/DataDictionnary/DataDictionnaryInputDto.cs‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ public class DataDictionnaryInputDto : InputDto<Guid>
3131
/// 数据字典父级
3232
/// </summary>
3333
[DisplayName("数据字典父级")]
34-
publicGuidParentId{get;set;}=Guid.Empty;
34+
publicGuid?ParentId{get;set;}
3535

3636
/// <summary>
3737
/// 排序

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp