forked from 77media/video-flow
更新 接口字段更新
This commit is contained in:
parent
4a6a99904a
commit
5b35e274b9
@ -43,7 +43,7 @@ type InviteRecordsResponse = {
|
||||
code: number;
|
||||
message: string;
|
||||
data: {
|
||||
invited_list: InviteRecord[];
|
||||
record_list: InviteRecord[];
|
||||
pagination: PaginationInfo;
|
||||
};
|
||||
};
|
||||
@ -102,7 +102,7 @@ export default function SharePage(): JSX.Element {
|
||||
try {
|
||||
const response = await fetchInviteRecords();
|
||||
if (mounted && response.successful) {
|
||||
setRecords(response.data.invited_list);
|
||||
setRecords(response.data.record_list);
|
||||
setPagination(response.data.pagination);
|
||||
}
|
||||
} catch {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user