-
-
Notifications
You must be signed in to change notification settings - Fork 21
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
14 changed files
with
203 additions
and
35 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,33 @@ | ||
using Telegram.Bot.Types; | ||
using XinjingdailyBot.Interface.Data.Base; | ||
using XinjingdailyBot.Model.Models; | ||
|
||
namespace XinjingdailyBot.Interface.Data; | ||
public interface IReviewStatusService | ||
/// <summary> | ||
/// 审核状态服务 | ||
/// </summary> | ||
public interface IReviewStatusService : IBaseService<ReviewStatus> | ||
{ | ||
/// <summary> | ||
/// 创建新记录 | ||
/// </summary> | ||
/// <param name="message"></param> | ||
/// <returns></returns> | ||
Task CreateNewReviewStatus(Message message); | ||
/// <summary> | ||
/// 删除旧记录 | ||
/// </summary> | ||
/// <returns></returns> | ||
Task DeleteOldReviewStatus(); | ||
/// <summary> | ||
/// 删除记录 | ||
/// </summary> | ||
/// <param name="reviewStatus"></param> | ||
/// <returns></returns> | ||
Task DeleteReviewStatus(ReviewStatus reviewStatus); | ||
/// <summary> | ||
/// 获取旧的审核状态 | ||
/// </summary> | ||
/// <returns></returns> | ||
Task<ReviewStatus?> GetOldReviewStatu(); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.