public ActionResult GetQRCodeBgImg(Guid AccountID)
        {
            Account_QRCode_Template_BLL bll = new Account_QRCode_Template_BLL();
            Account_QRCode_Template     off = bll.GetList(a => a.AccountID == AccountID).OrderByDescending(a => a.CreateTime).FirstOrDefault();


            string url = ConfigurationManager.AppSettings["QiNiuDomain"] + off.QRCodeBgImg;

            return(Redirect(url));
        }
        public ActionResult GetCustomQRCodeBgImg(Guid AccountID, int width, int height)
        {
            Account_QRCode_Template_BLL bll = new Account_QRCode_Template_BLL();
            //Account_QRCode_Template off = bll.Get(a => a.ATID == ATID);

            Account_QRCode_Template off = bll.GetList(a => a.AccountID == AccountID).OrderByDescending(a => a.CreateTime).FirstOrDefault();


            string url = ConfigurationManager.AppSettings["QiNiuDomain"] + off.QRCodeBgImg + "?imageView2/1/w/" + width.ToString() + "/h/" + height.ToString();

            return(Redirect(url));
        }
        public ActionResult CurrentQRCode(Guid AccountID)
        {
            Account_QRCode_Template_BLL bll = new Account_QRCode_Template_BLL();
            var list = bll.GetList(a => a.AccountID == AccountID).ToList();

            if (list.Count() > 0)
            {
                string url = ConfigurationManager.AppSettings["QiNiuDomain"].ToString() + list.OrderByDescending(a => a.CreateTime).FirstOrDefault().QRCodeBgImg;
                return(Redirect(url));
            }
            else
            {
                return(Content("当前没有进行中的活动!"));
            }
        }