feat(admin): merge stash changes into comclib-analytics (order/finance/product + rpc sql)
This commit is contained in:
49
types/admin/finance.uts
Normal file
49
types/admin/finance.uts
Normal file
@@ -0,0 +1,49 @@
|
||||
export type FinanceOverview = {
|
||||
recharge_amount: number
|
||||
recharge_count: number
|
||||
extract_amount: number
|
||||
extract_count: number
|
||||
total_user_balance: number
|
||||
total_user_brokerage: number
|
||||
}
|
||||
|
||||
export type ExtractRecord = {
|
||||
id: string
|
||||
uid: string
|
||||
real_name: string | null
|
||||
extract_type: string
|
||||
bank_code: string | null
|
||||
bank_address: string | null
|
||||
alipay_code: string | null
|
||||
wechat_code: string | null
|
||||
extract_price: number
|
||||
service_fee: number
|
||||
balance: number
|
||||
status: number
|
||||
refusal_reason: string | null
|
||||
admin_id: string | null
|
||||
payment_time: string | null
|
||||
created_at: string
|
||||
updated_at: string
|
||||
}
|
||||
|
||||
export type UserBillRecord = {
|
||||
id: string
|
||||
uid: string
|
||||
link_id: string | null
|
||||
pm: number
|
||||
title: string
|
||||
category: string
|
||||
type: string
|
||||
number: number
|
||||
balance: number
|
||||
mark: string | null
|
||||
status: number
|
||||
created_at: string
|
||||
updated_at: string
|
||||
}
|
||||
|
||||
export type PagedResult<T> = {
|
||||
total: number
|
||||
items: Array<T>
|
||||
}
|
||||
Reference in New Issue
Block a user