Exemplo n.º 1
0
        public ActionResult LookPassword()
        {
            string Code = Request["Code"].ToString();

            LoginUser suer = UserMgr.ReadUserInfo();
            //CustomerInfo customerInfo = CustomerFacade.GetCustomerInfo(suer.UserSysNo);

            string password = GiftCardFacade.LookPassword(Code, suer.UserSysNo);

            if (password != null)
            {
                return(Json(password, JsonRequestBehavior.AllowGet));
            }
            else
            {
                return(Json("未能获取礼品卡密码", JsonRequestBehavior.AllowGet));
            }
        }