Esempio n. 1
0
        public void Execute(IJobExecutionContext context)
        {
            //Loggers.Debug(new DebugLogInfo() { Message = "第三方支付通知失败处理开始" });

            OrderQueryBLL orderQueryBLL = new OrderQueryBLL(new BasicUserInfo());

            orderQueryBLL.SetNotificationFailed();//第三方支付通知失败处理

            //Loggers.Debug(new DebugLogInfo() { Message = "第三方支付通知失败处理结束" });
        }
Esempio n. 2
0
        public void Execute(IJobExecutionContext context)
        {
            //Loggers.Debug(new DebugLogInfo() { Message = "支付中心通知失败重新通知到业务平台" });

            OrderQueryBLL orderQueryBLL = new OrderQueryBLL(new BasicUserInfo());

            orderQueryBLL.PayCenterNotify();//支付中心通知失败重新通知到业务平台

            //Loggers.Debug(new DebugLogInfo() { Message = "支付中心通知失败重新通知到业务平台" });
        }
Esempio n. 3
0
        public void Execute(IJobExecutionContext context)
        {
            Console.WriteLine("作业执行1" + DateTime.Now);

            Loggers.Debug(new DebugLogInfo()
            {
                Message = "作业执行1"
            });


            Loggers.Debug(new DebugLogInfo()
            {
                Message = "第三方支付通知失败处理,开始-" + DateTime.Now
            });

            OrderQueryBLL orderQueryBLL = new OrderQueryBLL(new BasicUserInfo());

            orderQueryBLL.SetNotificationFailed();//第三方支付通知失败处理

            Loggers.Debug(new DebugLogInfo()
            {
                Message = "第三方支付通知失败处理,结束-" + DateTime.Now
            });
        }
Esempio n. 4
0
        public void ProcessRequest(HttpContext context)
        {
            try
            {
                //var request = context.Request;
                //context.Response.ContentType = "text/plain";
                //string Action = request["Action"];
                //var tRequest = request["request"].DeserializeJSONTo<TradeRequest>();
                ////获取正式支付接口
                //var Url = ConfigurationManager.AppSettings["DevGetewayUrl"];
                //string parameter = string.Format("action={0}&request={1}", Action, tRequest.ToJSON());
                //var data = Encoding.GetEncoding("utf-8").GetBytes(parameter);
                ////调用正式的接口
                //var res = GetResponseStr(Url, data);
                //context.Response.Write(res);

                OrderQueryBLL bll = new OrderQueryBLL(new Utility.BasicUserInfo());
                bll.SetNotificationFailed();
            }
            catch (Exception ex)
            {
                context.Response.Write(ex.ToJSON());
            }
        }