Esempio n. 1
0
        /// <summary>
        /// 描述:重置用户密码
        /// </summary>
        /// <param name="userid">用户Id</param>
        /// <returns></returns>
        public ActionResult RestPassByUserid(string userId)
        {
            var result = new ResultInfoModel {
                IsSuccess = false
            };

            try
            {
                result = HomeBusiness.RestAccountByUserid(userId, LoginUser);
            }
            catch (Exception ex)
            {
                result.Message = ex.Message;
            }
            return(Json(result));
        }