This commit is contained in:
chashaobao
2025-10-15 20:44:20 +08:00
parent 7ba04b27ff
commit 3d2b121b92
23 changed files with 724 additions and 65 deletions

View File

@ -87,3 +87,41 @@ export interface PartnerPagination<T> {
content: T[];
totalPages: number;
}
export enum EarnType {
ORDER_PAYMENT_SHARE_L1 = 'ORDER_PAYMENT_SHARE_L1',
ORDER_PAYMENT_SHARE_L2 = 'ORDER_PAYMENT_SHARE_L2',
CHAT_ACTIVITY_SHARE_L1 = 'CHAT_ACTIVITY_SHARE_L1',
CHAT_ACTIVITY_SHARE_L2 = 'CHAT_ACTIVITY_SHARE_L2',
OTHER = 'OTHER',
}
export interface UserProfitListItem {
userId: string;
total: number;
earnType: EarnType;
amount: number;
updatedAt: string;
}
export interface GroupAuthCode {
shareUserId: string;
authCode: string;
}
export interface AuthedGroupInfo {
userId: string;
openGid: string;
groupId: string;
groupName: string;
groupAvatar: string;
authDate: string;
}
export interface DecryptOpenGidBody {
authCode?: string;
inviteCode?: string;
encryptedData: string;
iv: string;
}
export interface StaffInfo {
id: number;
staffName: string;
staffQrCode: string;
isDefault: 0 | 1;
}