Esempio n. 1
0
        /// <summary>
        /// 当日明细  http://localhost:4113/sdb/todayDetail4008?accountNo=11015072397004
        /// </summary>
        /// <param name="accountNo"></param>
        /// <returns></returns>

        public ActionResult todayDetail4008(string accountNo = "11014803543008")
        {
            var oResult = PinganQuery.YQ4008todayDetailQuery(accountNo);

            var cc = PAHelper.get4008Result(oResult);

            return(Content(cc));
        }
Esempio n. 2
0
        /// <summary>
        /// 历史明细
        /// </summary>
        /// <returns></returns>

        public ActionResult HisDetail4013(string accountNo = "11014803543008", string BeginDate = "20170424", string EndDate = "20170424")
        {
            var oResult = PinganQuery.YQ4013HisDetailQuery(accountNo, BeginDate, EndDate);

            var cc = PAHelper.get4013Result(oResult);

            return(Content(cc));
        }
Esempio n. 3
0
        /// <summary>
        /// 查询余额    11014803543008   http://localhost:4113/sdb/Index
        /// </summary>
        /// <param name="accountNo"></param>
        /// <returns></returns>
        public ActionResult Index(string accountNo = "11015072397004")
        {
            var oResult = PinganQuery.YQ4001NormalQuery(accountNo);
            //解释返回码与返回描述
            var a = PAHelper.getReturnXmlInfo(oResult);
            var b = PAHelper.getAccBalance(oResult);

            return(Content(a + b));
        }
Esempio n. 4
0
        /// <summary>
        /// 跨行快付
        /// </summary>
        /// <returns></returns>
        public ActionResult KHKF03(string InAcctNo = "6221558812340000", string InAcctName = "互联网", string TranAmount = "5.59")
        {
            //   var OrderNumber =  "ZXLKF0320170417TV003";   //20位客户的订单号
            var OrderNumber = Util.get20OrderID();   //20位客户的订单号
            var oResult     = PinganQuery.KHKF03(InAcctNo, InAcctName, TranAmount, OrderNumber);

            var cc = PAHelper.getKHKF03Result(oResult);

            return(Content(cc));
        }
Esempio n. 5
0
        /// <summary>
        /// 跨行快付结果查询查询   http://localhost:4113/sdb/KHKF04?BussFlowNo=8043431706085110360216
        /// </summary>
        /// <returns></returns>
        public ActionResult KHKF04(string OrderNumber = "ZXLKF0320170417TV001", string BussFlowNo = "")
        {
            //传订单号
            var oResult = PinganQuery.KHKF04(OrderNumber);

            if (BussFlowNo != "")
            {
                oResult = PinganQuery.KHKF04ResultBuss(BussFlowNo);
            }

            var cc = PAHelper.getKHKF04Result(oResult);

            return(Content(cc));
        }
Esempio n. 6
0
        /// <summary>
        /// 系统探测 http://localhost:4113/sdb/sys
        /// </summary>
        /// <returns></returns>
        public ActionResult sys()
        {
            var sResultNormal = PinganQuery.S001NormalQuery();

            return(Content(sResultNormal));
        }
Esempio n. 7
0
        //使用post查询_无效
        public ActionResult sResult()
        {
            var sResult = PinganQuery.S001Query();

            return(Content(sResult.ToString()));
        }