Beispiel #1
0
 // 投诉评论
 public static int SetComplain(TopicComplainInfo info)
 {
     if (TopicComplainDac.IsExistComplain(info))
     {
         return(-1); //已存在当前用户的投诉
     }
     else
     {
         TopicComplainDac.InsertTopicComplain(info);
         return(0);  //投诉成功
     }
 }
Beispiel #2
0
 public static void ComplainTopic(TopicComplainInfo complain)
 {
     TopicComplainDac.InsertTopicComplain(complain);
 }