✨
This commit is contained in:
41
StopShopping.Services/IRequestService.cs
Normal file
41
StopShopping.Services/IRequestService.cs
Normal file
@@ -0,0 +1,41 @@
|
||||
using StopShopping.Services.Models.Req;
|
||||
using StopShopping.Services.Models.Resp;
|
||||
|
||||
namespace StopShopping.Services;
|
||||
|
||||
/// <summary>
|
||||
/// 需求服务
|
||||
/// </summary>
|
||||
public interface IRequestService
|
||||
{
|
||||
/// <summary>
|
||||
/// 发布需求
|
||||
/// </summary>
|
||||
/// <param name="model"></param>
|
||||
/// <returns></returns>
|
||||
Task<ApiResponse> PublishRequestAsync(CreateRequestParams model);
|
||||
/// <summary>
|
||||
/// 分页搜索需求
|
||||
/// </summary>
|
||||
/// <param name="model"></param>
|
||||
/// <returns></returns>
|
||||
Task<ApiResponse<PagedResult<Request>>> SearchAsync(RequestSearchParams model);
|
||||
/// <summary>
|
||||
/// 需求订单检索
|
||||
/// </summary>
|
||||
/// <param name="model"></param>
|
||||
/// <returns></returns>
|
||||
Task<ApiResponse<PagedResult<Request>>> RequestOrderSearchAsync(RequestSearchWithStatusParams model);
|
||||
/// <summary>
|
||||
/// 竞标订单检索
|
||||
/// </summary>
|
||||
/// <param name="model"></param>
|
||||
/// <returns></returns>
|
||||
Task<ApiResponse<PagedResult<Request>>> ReplyOrderSearchAsync(RequestSearchWithStatusParams model);
|
||||
/// <summary>
|
||||
/// 删除需求
|
||||
/// </summary>
|
||||
/// <param name="model"></param>
|
||||
/// <returns></returns>
|
||||
Task<ApiResponse> DeleteRequestAsync(RequestIdParams model);
|
||||
}
|
||||
Reference in New Issue
Block a user