add: Order
This commit is contained in:
		| @ -0,0 +1,26 @@ | ||||
| using KonSoft.Admin.Dtos; | ||||
| using System; | ||||
| using System.Collections.Generic; | ||||
| using System.Linq; | ||||
| using System.Text; | ||||
| using System.Threading.Tasks; | ||||
| using Volo.Abp.Application.Services; | ||||
|  | ||||
| namespace KonSoft.Admin.IApplicationServices | ||||
| { | ||||
|     public interface IOrderAppService : IApplicationService | ||||
|     { | ||||
|         /// <summary> | ||||
|         /// 创建订单 | ||||
|         /// </summary> | ||||
|         /// <param name="input"></param> | ||||
|         /// <returns></returns> | ||||
|         Task<OrderDto> CreateAsync(CreateOrderDto input); | ||||
|         Task<OrderDto> PayAsync(Guid orderId, PayOrderDto input); | ||||
|         Task AssignAsync(Guid orderId, Guid workerId); | ||||
|         Task StartServiceAsync(Guid orderId); | ||||
|         Task CompleteServiceAsync(Guid orderId); | ||||
|         Task ConfirmAsync(Guid orderId); | ||||
|         Task CancelAsync(Guid orderId, string reason); | ||||
|     } | ||||
| } | ||||
		Reference in New Issue
	
	Block a user
	 于鹏
					于鹏