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

@ -20,3 +20,14 @@ export interface GetCityCodeRequest {
latitude: number; // 纬度,浮点数,范围为-90~90负数表示南纬
longitude: number; // 经度,范围为-180~180负数表示西经
}
export interface CityOperatorListItem {
id: number;
staffId: number;
staffName: string;
cityName: string;
cityCode: string;
groupLink: string;
created: string;
updated: string;
}

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;
}

View File

@ -17,4 +17,9 @@ export interface AppState {
roleType: RoleType;
homePageType: PageType;
location: LocationInfo;
serviceUrls: Array<{
title: string;
cityCode: number;
serviceUrl: string;
}>;
}