public async Task UninstallMemberAsync(Int32 userId, Int32 memberId) { Check.IfNullOrZero(userId); Check.IfNullOrZero(memberId); var app = await _memberContext.UninstallMemberAsync(userId, memberId); await CacheHelper.RemoveKeyWhenModify(new DesktopCacheKey(userId)); if (app != null) { await _commonNotify.SendNotify(userId, new Notify("应用卸载提醒", $@"您安装的应用 {app.Name} 已卸载完成", 0, userId)); } }