You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
28 lines
767 B
28 lines
767 B
2 years ago
|
using BBWYB.Server.Business.Order;
|
||
|
using BBWYB.Server.Model.Dto;
|
||
|
using Microsoft.AspNetCore.Mvc;
|
||
|
|
||
|
namespace BBWYB.Server.API.Controllers
|
||
|
{
|
||
|
|
||
|
public class OrderController : BaseApiController
|
||
|
{
|
||
|
private OrderBusiness orderBusiness;
|
||
|
public OrderController(IHttpContextAccessor httpContextAccessor, OrderBusiness orderBusiness) : base(httpContextAccessor)
|
||
|
{
|
||
|
this.orderBusiness = orderBusiness;
|
||
|
}
|
||
|
|
||
|
/// <summary>
|
||
|
/// 订单查询
|
||
|
/// </summary>
|
||
|
/// <param name="request"></param>
|
||
|
/// <returns></returns>
|
||
|
[HttpPost]
|
||
|
public OrderListResponse GetOrderList(QueryOrderRequest request)
|
||
|
{
|
||
|
return orderBusiness.GetOrderList(request);
|
||
|
}
|
||
|
}
|
||
|
}
|