/// <summary>
        /// 发送手机验证码(重置密码)
        /// </summary>
        /// <returns></returns>
        public ActionResult ResetPhoneCode()
        {
            string phone = Request["phone"].ToString();//取现接受验证码手机号码
            //验证注册的手机号码唯一性
            var Vphone = HomeBLL.GetUserInfoByPhone(phone);

            if (Vphone == null)
            {
                return(OperContext.PackagingAjaxMsg(AjaxStatu.err, "当前手机号不存在,请确认"));
            }
            DateTime Vdate;
            //Session["RegCode"] = "123456";//验证码
            //Session["Vdate"] = DateTime.Now;//验证码发送时间
            //return OperContext.PackagingAjaxMsg(AjaxStatu.ok, "验证码已发送您的手机,请获取");

            string count = SendPhoneCode.SendVerifyCode(phone, out Vdate);//发送验证码

            if (count != "")
            {
                Session["RegCode"] = count; //验证码
                Session["Vdate"]   = Vdate; //验证码发送时间
                return(OperContext.PackagingAjaxMsg(AjaxStatu.ok, "验证码已发送您的手机,请获取"));
            }
            else
            {
                return(OperContext.PackagingAjaxMsg(AjaxStatu.err, "验证码发送失败"));
            }
        }
        public ActionResult SendCode()
        {
            string phone = Request["phone"].ToString();//取现接受验证码手机号码
            //验证注册的手机号码唯一性
            //DataTable Vphone = UserBLL.Vphone(phone);
            //if (Vphone != null && Vphone.Rows.Count > 0)
            //{
            //    return OperContext.PackagingAjaxMsg(AjaxStatu.err, "当前手机号已存在,请换更换");
            //}
            DateTime Vdate = DateTime.Now;
            string   count = SendPhoneCode.SendVerifyCode(phone, out Vdate);//发送验证码

            if (count != "")
            {
                Session["RegCode"] = count; //验证码
                Session["Vdate"]   = Vdate; //验证码发送时间
                return(OperContext.PackagingAjaxMsg(AjaxStatu.ok, "验证码已发送您的手机,请获取"));
            }
            else
            {
                return(OperContext.PackagingAjaxMsg(AjaxStatu.err, "验证码发送失败"));
            }
        }
        /// <summary>
        /// 设置密码是验证码
        /// </summary>
        /// <returns></returns>
        public ActionResult SendCodePwd()
        {
            var phone = User.Identity.Name;//登陆者手机号码

            //验证注册的手机号码唯一性

            if (phone == null && phone == "")
            {
                return(OperContext.PackagingAjaxMsg(AjaxStatu.err, "当前用户未登录,请先登录"));
            }
            DateTime Vdate = DateTime.Now;
            string   count = SendPhoneCode.SendVerifyCode(phone, out Vdate);//发送验证码

            if (count != "")
            {
                Session["RegCode"] = count; //验证码
                Session["Vdate"]   = Vdate; //验证码发送时间
                return(OperContext.PackagingAjaxMsg(AjaxStatu.ok, "验证码已发送您的手机,请获取"));
            }
            else
            {
                return(OperContext.PackagingAjaxMsg(AjaxStatu.err, "验证码发送失败"));
            }
        }