MomentData.cs
1.29 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
using System;
using System.Collections.Generic;
/**
* 功能描述: 朋友圈数据实体类
* @author wangQc
* @date 2025/6/4 09:17
*/
[Serializable]
public class MomentList
{
//封面图url
public String cover;
public String bottom;
//点赞图标
public string likeIcon;
//大图右下角的小logo
public String logo;
//点赞图标以及弹幕文案
public List<Like> likeList;
//朋友圈动态列表
public List<Moment> moments;
}
[Serializable]
public class Moment
{
public string username;
public string avatarUrl;
public string text;
//吉祥物图片
public string mascot;
//图片和视频二选一
public List<string> imageUrls;
public string video;
public string from;
public string time;
//视频放大区
public string videoLikeHeadImg;
public List<string> videoDanmakuList;
public string videoFollowCount;
public List<string> likeNameList;
public List<CommentData> comments;
}
[Serializable]
public class Like
{
//图标
public string icon;
public string name;
//弹幕文字
public string bullet;
}
[Serializable]
public class CommentData
{
public string commenter;
public string replier; // 可为空
public string content;
}