分享添加
This commit is contained in:
@@ -43,7 +43,7 @@ const CommunityPage: React.FC<HomeCommunityModelState & DispatchProp> = ({
|
||||
<div className="bg" />
|
||||
<span className="title">{formatMessage({ id: 'home.community.total' })}</span>
|
||||
<span className="content">
|
||||
<span className="large">+{info ? info.rewardAll : 0} USDT</span>
|
||||
<span className="large">+{info ? info.reward : 0} USDT</span>
|
||||
</span>
|
||||
<div className={styles.card}>
|
||||
<div className="left">
|
||||
@@ -51,14 +51,14 @@ const CommunityPage: React.FC<HomeCommunityModelState & DispatchProp> = ({
|
||||
{formatMessage({
|
||||
id: 'home.community.totalInvited',
|
||||
}, {
|
||||
num: info ? info.followerNumber : 0,
|
||||
num: info ? info.follower : 0,
|
||||
})}
|
||||
</span>
|
||||
<span className="line">
|
||||
{formatMessage({
|
||||
id: 'home.community.totalAll',
|
||||
}, {
|
||||
num: info ? info.communeNumber : 0,
|
||||
num: info ? info.groupScale : 0,
|
||||
})}
|
||||
</span>
|
||||
</div>
|
||||
|
||||
@@ -6,7 +6,7 @@ export async function getCommunityBasic(): Promise<CommunityBasic> {
|
||||
ok,
|
||||
data,
|
||||
msg,
|
||||
} = await http.get<CommunityBasic>('/commune/basic');
|
||||
} = await http.get<CommunityBasic>('/community/basic');
|
||||
if (ok && data) {
|
||||
return data;
|
||||
}
|
||||
@@ -18,7 +18,7 @@ export async function getCommunityList(pageIndex: number, pageSize: number): Pro
|
||||
ok,
|
||||
data,
|
||||
msg,
|
||||
} = await http.get<Inviters>('/commune/list', {
|
||||
} = await http.get<Inviters>('/community/list', {
|
||||
pageIndex,
|
||||
pageSize,
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user