/// <summary> /// 用户离线(退出) /// </summary> /// <param name="taskId">任务标识</param> /// <param name="userInfo">用户</param> public void SignOut(string taskId, BaseUserInfo userInfo) { var parameter = ServiceInfo.Create(taskId, userInfo, MethodBase.GetCurrentMethod()); ServiceUtil.ProcessUserCenterWriteDb(userInfo, parameter, (dbHelper) => { // 2015-12-14 吉日嘎拉 用户的登录日志不用重复写日志 BaseUserLogOnManager userLogOnManager = new BaseUserLogOnManager(); userLogOnManager.SignOut(userInfo.OpenId); }); }