| | |
| | | private readonly IOrderBanciService _orderBanciService; |
| | | private readonly IOrderBanciDtlService _orderBanciDtlService; |
| | | private readonly IOrderBanciOrderService _orderBanciOrderService; |
| | | private readonly IFiOrderrecievemoneyService _fiOrderrecievemoneyService; |
| | | |
| | | public OrderBanciOrderController(ILogger<OrderBanciOrderController> logger, ILiaotianService liaotianService, IOrderBanciService orderBanciService, IOrderBanciDtlService orderBanciDtlService |
| | | ,IOrderBanciOrderService orderBanciOrderService) |
| | | ,IOrderBanciOrderService orderBanciOrderService |
| | | , IFiOrderrecievemoneyService fiOrderrecievemoneyService) |
| | | { |
| | | _logger = logger; |
| | | _liaotianService = liaotianService; |
| | | _orderBanciService = orderBanciService; |
| | | _orderBanciDtlService = orderBanciDtlService; |
| | | _orderBanciOrderService = orderBanciOrderService; |
| | | _fiOrderrecievemoneyService = fiOrderrecievemoneyService; |
| | | } |
| | | |
| | | [CheckLogin] |
| | |
| | | } |
| | | return new JsonResult(returnMsg); |
| | | } |
| | | |
| | | |
| | | //获取当前的业务类型 |
| | | public IActionResult GetBusinessType() |
| | | { |
| | | ReturnMsg<List<SysCodeDtl>> returnMsg = new ReturnMsg<List<SysCodeDtl>>(); |
| | | returnMsg.code = 2; |
| | | try |
| | | { |
| | | var sysCodeDtls = _liaotianService.GetSYScode("CooperVisit", "jtype"); |
| | | |
| | | |
| | | |
| | | returnMsg.code = 1; |
| | | returnMsg.count = sysCodeDtls.Count; |
| | | returnMsg.returnObj = sysCodeDtls; |
| | | |
| | | } |
| | | catch (Exception ex) |
| | | { |
| | | returnMsg.code = 2; |
| | | returnMsg.error = "没有获取到token"; |
| | | returnMsg.count = 0; |
| | | |
| | | } |
| | | return new JsonResult(returnMsg); |
| | | } |
| | | |
| | | |
| | | //获取会员订单信息,支付完成的 |
| | | public IActionResult GetOrderByHuiyuanId([FromBody] FiOrderrecievemoneyDTOSearch search) |
| | | { |
| | | ReturnMsg<List<FiOrderrecievemoneyDTO>> returnMsg = new ReturnMsg<List<FiOrderrecievemoneyDTO>>(); |
| | | returnMsg.code = 2; |
| | | try |
| | | { |
| | | |
| | | search.page = 1; |
| | | search.rows = 1; |
| | | search.Fkzt = "03"; |
| | | ResultDataEntity<FiOrderrecievemoneyDTO> resultDataEntity = _fiOrderrecievemoneyService.SearchByPaging(search); |
| | | |
| | | returnMsg.code = 1; |
| | | returnMsg.count = search.totalrows; |
| | | returnMsg.returnObj = resultDataEntity.DataList; |
| | | |
| | | } |
| | | catch (Exception ex) |
| | | { |
| | | returnMsg.code = 2; |
| | | returnMsg.error = "没有获取到token"; |
| | | returnMsg.count = 0; |
| | | |
| | | } |
| | | return new JsonResult(returnMsg); |
| | | } |
| | | |
| | | } |
| | | } |