feat:
This commit is contained in:
@ -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;
|
||||
}
|
||||
|
||||
@ -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;
|
||||
}
|
||||
|
||||
@ -17,4 +17,9 @@ export interface AppState {
|
||||
roleType: RoleType;
|
||||
homePageType: PageType;
|
||||
location: LocationInfo;
|
||||
serviceUrls: Array<{
|
||||
title: string;
|
||||
cityCode: number;
|
||||
serviceUrl: string;
|
||||
}>;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user