public async Task <IActionResult> OrderQuery(LianLianPayOrderQueryViewModel viewModel)
        {
            var request = new LianLianPayOrderQueryRequest()
            {
                NoOrder    = viewModel.NoOrder,
                DtOrder    = viewModel.DtOrder,
                OidPayBill = viewModel.OidPayBill
            };
            var response = await _client.ExecuteAsync(request);

            ViewData["response"] = response.Body;
            return(View());
        }
Example #2
0
        public async Task <IActionResult> OrderQuery(string no_order, string dt_order, string oid_paybill)
        {
            var request = new LianLianPayOrderQueryRequest()
            {
                NoOrder    = no_order,
                DtOrder    = dt_order,
                OidPayBill = oid_paybill
            };
            var response = await _client.ExecuteAsync(request);

            return(Content(response.Body));
        }