feat: 账本域 billing_domain 与成员支付可见性收紧
三表增加账本域标签,成员支付参数改为同域透明、跨域隔离、未标域默认藏;管理面登记/筛选/行内编辑与文档中心同步对齐。
This commit is contained in:
@@ -10,11 +10,16 @@ export type TopupBody = {
|
||||
payment_provider?: string | null;
|
||||
status?: string | null;
|
||||
paid_at: string;
|
||||
billing_domain?: string | null;
|
||||
remark?: string;
|
||||
};
|
||||
|
||||
export async function fetchTopups(): Promise<TopupItem[]> {
|
||||
const { data } = await adminHttp.get<TopupItem[]>("/topups");
|
||||
export async function fetchTopups(filter?: {
|
||||
billing_domain?: string | "none";
|
||||
}): Promise<TopupItem[]> {
|
||||
const { data } = await adminHttp.get<TopupItem[]>("/topups", {
|
||||
params: filter,
|
||||
});
|
||||
return data;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user