using DS.Module.Core; using DS.WMS.Core.Info.Dtos; using DS.WMS.Core.Info.Interface; using DS.WMS.Core.System.Dtos; using DS.WMS.Core.System.Interface; using Microsoft.AspNetCore.Mvc; namespace DS.WMS.MainApi.Controllers; /// /// 客户银行信息-模块 /// public class ClientBankController : ApiController { private readonly IClientBankService _invokeService; /// /// 构造函数 /// /// public ClientBankController(IClientBankService invokeService) { _invokeService = invokeService; } /// /// 列表 /// /// /// [HttpPost] [Route("GetClientBankList")] public DataResult> GetClientBankList([FromBody] PageRequest request) { var res = _invokeService.GetListByPage(request); return res; } /// /// 编辑 /// /// /// [HttpPost] [Route("EditClientBank")] public DataResult EditClientBank([FromBody] ClientBankReq req) { var res = _invokeService.EditClientBank(req); return res; } /// /// 详情 /// /// /// [HttpGet] [Route("GetClientBankInfo")] public DataResult GetClientBankInfo([FromQuery] string id) { var res = _invokeService.GetClientBankInfo(id); return res; } }