/// <summary> /// 验证用户通讯密码 /// </summary> /// <param name="userInfo">用户</param> /// <param name="communicationPassword">通讯密码</param> /// <param name="ipAddress">IP地址</param> /// <param name="statusCode">返回状态码</param> /// <param name="statusMessage">返回状消息</param> /// <returns>是否正确</returns> public bool CommunicationPassword(BaseUserInfo userInfo, string communicationPassword) { var parameter = ServiceParameter.CreateWithMessage(userInfo , MethodBase.GetCurrentMethod() , this.serviceName , AppMessage.LogOnService_CommunicationPassword); bool result = false; ServiceUtil.ProcessUserCenterReadDb(parameter, (dbHelper) => { var userManager = new BaseUserLogOnManager(dbHelper, userInfo); result = userManager.CommunicationPassword(communicationPassword); }); return(result); }