using DS.Module.Core; using DS.WMS.Core.Invoice.Dtos; using DS.WMS.Core.Invoice.Interface; using Microsoft.AspNetCore.Http; using Microsoft.AspNetCore.Mvc; namespace DS.WMS.FeeApi.Controllers { /// /// 银行流水相关 /// public class BankStatementController : ApiController { readonly IBankStatementService _BankStatement; /// /// 初始化 /// /// public BankStatementController(IBankStatementService bankStatement) { _BankStatement = bankStatement; } /// /// 获取银行流水列表 /// /// /// [HttpPost, Route("GetBankStatementList")] public async Task>> GetBankStatementList(PageRequest model) { return await _BankStatement.GetBankStatementList(model); } /// /// 获取银行账号列表 /// /// /// [HttpPost, Route("GetBankAccountList")] public async Task>> GetBankAccountList() { return await _BankStatement.GetBankAccountList(); } } }