Esempio n. 1
0
        /// <summary>
        /// 校验用户邮箱
        /// </summary>
        private void CheckUserMail(HttpContext context)
        {
            string userMail = context.Request["userMail"];

            if (userManager.CheckUserMail(userMail))
            {
                context.Response.Write("邮箱已经存在");
            }
            else
            {
                context.Response.Write("邮箱可以注册");
            }
        }