feat:n
This commit is contained in:
@ -36,9 +36,9 @@ export interface InviteUserInfo {
|
||||
roleType: string; // 角色类型,可选
|
||||
}
|
||||
export enum ProfitType {
|
||||
Anchor = '1',
|
||||
Member = '2',
|
||||
Partner = '3',
|
||||
PAYMENT_SHARE = 'PAYMENT_SHARE',
|
||||
CHAT_SHARE = 'CHAT_SHARE',
|
||||
INDIRECT_MEMBER_REFERRAL = 'INDIRECT_MEMBER_REFERRAL',
|
||||
}
|
||||
export enum ProfitStatus {
|
||||
AVAILABLE = '1',
|
||||
@ -46,18 +46,21 @@ export enum ProfitStatus {
|
||||
WITHDRAW = '3',
|
||||
}
|
||||
export interface GetProfitRequest {
|
||||
profitType: ProfitType;
|
||||
type: ProfitType;
|
||||
}
|
||||
export interface PartnerProfitItem {
|
||||
id: number; // 唯一标识
|
||||
userId: string; // 用户ID
|
||||
profit: number; // 利润
|
||||
profitType: ProfitType; // 利润类型
|
||||
partnerId: string;
|
||||
sourceUserId: string;
|
||||
originatingUserId: string; // 用户ID
|
||||
relatedEntityId: string;
|
||||
relatedEntityType: string;
|
||||
amount: number; // 利润
|
||||
earnType: ProfitType; // 利润类型
|
||||
status: ProfitStatus; // 状态
|
||||
relatedId: string; // 相关ID
|
||||
remark: string; // 备注
|
||||
created: string; // 创建时间
|
||||
updated: string; // 更新时间
|
||||
profitTypeEnum: string; // 利润类型枚举
|
||||
statusEnum: string; // 状态枚举
|
||||
expectedSettlementDate: string;
|
||||
actualSettlementDate: string;
|
||||
}
|
||||
|
Reference in New Issue
Block a user