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); } }
public override void ParseData(string str) { try { var comment = JsonConvert.DeserializeObject <ACComment>(str); Comment = comment; } catch (Exception ex) { throw (new Exception("评论获取失败")); } // base.ParseData(str); }