Compare commits
2 Commits
aa223688a0
...
ca80398187
| Author | SHA1 | Date | |
|---|---|---|---|
| ca80398187 | |||
| 8b6f6626d1 |
1
.gitignore
vendored
1
.gitignore
vendored
@ -17,3 +17,4 @@ logs/
|
||||
## Environment
|
||||
.env
|
||||
*.env
|
||||
*.md
|
||||
|
||||
@ -76,7 +76,7 @@ namespace QuestionLibraryMQConsumer.Handlers
|
||||
CreatedTime = DateTime.UtcNow,
|
||||
UpdatedTime = DateTime.UtcNow,
|
||||
Source = message.Source,
|
||||
Status = (int)BookStatusEnum.Created
|
||||
Status = (int)BookStatusEnum.MissCatalog
|
||||
};
|
||||
|
||||
await _db.Db.Insertable(book).ExecuteCommandAsync();
|
||||
|
||||
@ -9,12 +9,16 @@ namespace QuestionLibraryMQConsumer.Models
|
||||
{
|
||||
public enum BookStatusEnum
|
||||
{
|
||||
/// <summary>
|
||||
/// 缺失目录
|
||||
/// </summary>
|
||||
[Description("缺失目录")]
|
||||
MissCatalog = -1,
|
||||
/// <summary>
|
||||
/// 已创建
|
||||
/// </summary>
|
||||
[Description("已创建")]
|
||||
Created = 0,
|
||||
|
||||
/// <summary>
|
||||
/// 编辑
|
||||
/// </summary>
|
||||
|
||||
@ -0,0 +1,11 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- https://go.microsoft.com/fwlink/?LinkID=208121. -->
|
||||
<Project>
|
||||
<PropertyGroup>
|
||||
<Configuration>Release</Configuration>
|
||||
<Platform>Any CPU</Platform>
|
||||
<PublishDir>C:\Web\QuestionLibraryMQConsumer</PublishDir>
|
||||
<PublishProtocol>FileSystem</PublishProtocol>
|
||||
<_TargetId>Folder</_TargetId>
|
||||
</PropertyGroup>
|
||||
</Project>
|
||||
Reference in New Issue
Block a user