Compare commits
2 Commits
aa223688a0
...
ca80398187
| Author | SHA1 | Date | |
|---|---|---|---|
| ca80398187 | |||
| 8b6f6626d1 |
1
.gitignore
vendored
1
.gitignore
vendored
@ -17,3 +17,4 @@ logs/
|
|||||||
## Environment
|
## Environment
|
||||||
.env
|
.env
|
||||||
*.env
|
*.env
|
||||||
|
*.md
|
||||||
|
|||||||
@ -76,7 +76,7 @@ namespace QuestionLibraryMQConsumer.Handlers
|
|||||||
CreatedTime = DateTime.UtcNow,
|
CreatedTime = DateTime.UtcNow,
|
||||||
UpdatedTime = DateTime.UtcNow,
|
UpdatedTime = DateTime.UtcNow,
|
||||||
Source = message.Source,
|
Source = message.Source,
|
||||||
Status = (int)BookStatusEnum.Created
|
Status = (int)BookStatusEnum.MissCatalog
|
||||||
};
|
};
|
||||||
|
|
||||||
await _db.Db.Insertable(book).ExecuteCommandAsync();
|
await _db.Db.Insertable(book).ExecuteCommandAsync();
|
||||||
|
|||||||
@ -9,12 +9,16 @@ namespace QuestionLibraryMQConsumer.Models
|
|||||||
{
|
{
|
||||||
public enum BookStatusEnum
|
public enum BookStatusEnum
|
||||||
{
|
{
|
||||||
|
/// <summary>
|
||||||
|
/// 缺失目录
|
||||||
|
/// </summary>
|
||||||
|
[Description("缺失目录")]
|
||||||
|
MissCatalog = -1,
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 已创建
|
/// 已创建
|
||||||
/// </summary>
|
/// </summary>
|
||||||
[Description("已创建")]
|
[Description("已创建")]
|
||||||
Created = 0,
|
Created = 0,
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 编辑
|
/// 编辑
|
||||||
/// </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