示例#1
0
 /// <summary>
 /// 阅读文章后插入记录
 /// </summary>
 /// <param name="UserId"></param>
 /// <param name="Type"></param>
 /// <param name="Vote"></param>
 /// <param name="PKID"></param>
 /// <returns></returns>
 public static int AddReadingRecord(string UserId, int Type, string Vote, int PKID)
 {
     if (Type == 3)
     {
         return(Articles.AddReadingRecord2(UserId, PKID, Type));
     }
     else
     {
         return(Articles.AddReadingRecord(UserId, Type, Vote, PKID));
     }
 }