Exemple #1
0
 private void GetFloorList(string floor, ACComment ct, List <commentContent> list)
 {
     list.Add(ct.data.commentContentArr["c" + floor]);
     ct.data.commentContentArr["c" + floor].isRef++;
     if (ct.data.commentContentArr["c" + floor].quoteId != "0")
     {
         GetFloorList(ct.data.commentContentArr["c" + floor].quoteId, ct, list);
     }
 }
Exemple #2
0
 public override void ParseData(string str)
 {
     try
     {
         var comment = JsonConvert.DeserializeObject <ACComment>(str);
         Comment = comment;
     }
     catch (Exception ex)
     {
         throw (new Exception("评论获取失败"));
     }
     //  base.ParseData(str);
 }