using DS.Module.Core;
using DS.WMS.Core.Application.Dtos;
using DS.WMS.Core.Settlement.Dtos;
using DS.WMS.Core.Settlement.Interface;
using Microsoft.AspNetCore.Mvc;
namespace DS.WMS.FeeApi.Controllers
{
///
/// 付费结算API
///
public class PaymentSettlementController : ApiController
{
readonly IPaymentSettlementService _service;
///
/// 初始化
///
///
public PaymentSettlementController(IPaymentSettlementService service)
{
_service = service;
}
///
/// 获取列表
///
///
///
[HttpPost, Route("GetList")]
public async Task>> ListAsync([FromBody] PageRequest request)
{
return await _service.GetListAsync(request);
}
///
/// 获取付费申请分页列表
///
///
///
[HttpPost, Route("GetApplicationList")]
public async Task>> GetApplicationListAsync([FromBody] PageRequest request)
{
return await _service.GetApplicationListAsync(request);
}
}
}