protected override object ChangePasswordByOldPassword(string oldPassword, string password)
        {
            CheckUserLogin();

            if (string.IsNullOrWhiteSpace(password))
            {
                return(ErrorResult("密码不能为空"));
            }

            if (!ShopBranchApplication.CheckManagerPassword(CurrentUser.Id, oldPassword))
            {
                return(ErrorResult("旧密码输入不正确"));
            }

            ShopBranchApplication.SetManagerPassword(CurrentUser.Id, password);
            return(SuccessResult("密码修改成功"));
        }