feat: 积分流水互转合并展示,并优化个人主页与经济看板
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -971,6 +971,13 @@ export async function apiGetPoints(): Promise<{ points: number }> {
|
||||
return res.json();
|
||||
}
|
||||
|
||||
export interface LedgerParty {
|
||||
id: number;
|
||||
username: string;
|
||||
nickname: string;
|
||||
avatar: string;
|
||||
}
|
||||
|
||||
export interface PointLedgerItem {
|
||||
id: number;
|
||||
delta: number;
|
||||
@@ -980,6 +987,9 @@ export interface PointLedgerItem {
|
||||
ref_id: number;
|
||||
note: string;
|
||||
created_at: string;
|
||||
user?: LedgerParty;
|
||||
from?: LedgerParty;
|
||||
to?: LedgerParty;
|
||||
}
|
||||
|
||||
export async function apiGetPointsLedger(
|
||||
|
||||
Reference in New Issue
Block a user