Ejemplo n.º 1
0
        private string PayConfig(HttpContext context)
        {
            PayConfig payConfig = bllPay.GetPayConfig();

            payConfig = bllPay.ConvertRequestToModel <PayConfig>(payConfig);
            if (bllPay.Update(payConfig))
            {
                resp.Status = 1;
                resp.Msg    = "提交成功";
            }
            else
            {
                resp.Status = -1;
                resp.Msg    = "提交失败";
            }
            return(Common.JSONHelper.ObjectToJson(resp));
        }