Spaces:
Sleeping
Sleeping
File size: 1,973 Bytes
6e41657 | 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 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 | interface BaseResp {
exportkey_token: string;
ret: number;
}
interface IPWording {
country_id: string;
country_name: string;
province_id: string;
province_name: string;
city_id: string;
city_name: string;
}
interface Comment {
author_like_status: number;
content: string;
content_id: string;
create_time: number;
id: number;
identity_name: string;
identity_type: number;
ip_wording: IPWording;
is_can_delete: boolean;
is_elected: number;
is_from: number;
is_from_friend: number;
is_from_me: number;
is_top: number;
like_num: number;
like_status: number;
logo_url: string;
my_id: number;
nick_name: string;
openid: string;
reply_new: {
max_reply_id: number;
reply_list: ReplyComment[];
reply_total_cnt: number;
};
}
interface ReplyComment {
author_like_status: number;
content: string;
create_time: number;
identity_name: string;
identity_type: number;
ip_wording: IPWording;
is_deleted: number;
is_from: number;
is_from_friend: number;
logo_url: string;
nick_name: string;
openid: string;
reply_del_flag: number;
reply_id: number;
reply_is_elected: number;
reply_like_num: number;
reply_like_status: number;
}
export interface CommentResponse {
base_resp: BaseResp;
buffer: string;
continue_flag: boolean;
elected_comment: Comment[];
elected_comment_total_cnt: number;
enabled: number;
friend_comment: Comment[];
identity_name: string;
identity_type: number;
is_fans: number;
logo_url: string;
my_comment: Comment[];
nick_name: string;
not_pay_can_comment: number;
only_fans_can_comment: boolean;
only_fans_days_can_comment: boolean;
reply_flag: number;
}
interface ReplyList {
max_reply_id: number;
reply_list: ReplyComment[];
}
export interface ReplyResponse {
base_resp: BaseResp;
buffer: string;
reply_list: ReplyList;
}
|