Example #1
0
        /// <summary>
        /// 设置用户信息表中未读短消息的数量
        /// </summary>
        /// <param name="uid">用户ID</param>
        /// <param name="pmnum">短消息数量</param>
        /// <returns>更新记录个数</returns>
        public static int SetUserNewPMCount(int uid, int pmnum)
        {
            if (appDBCache)
                IUserService.SetUserNewPMCount(uid, pmnum);

            return DatabaseProvider.GetInstance().SetUserNewPMCount(uid, pmnum);
        }