예제 #1
0
        public ActionResult ResetPwd(string loginname)
        {
            if (string.IsNullOrEmpty(loginname))
            {
                throw new BusinessException("未找到当前用户的相关信息");
            }
            var newpwd = AuthMgr.EncryptPassword(loginname);

            user_service.FindSystemUserPwd(loginname, newpwd, ConstValue.ApplicationID, CurrUser.MasterSysNo);
            return(Json(new AjaxResult {
                Success = true
            }));
        }