feat: 模卡更新

This commit is contained in:
chashaobao
2025-11-03 22:18:39 +08:00
parent fde2027588
commit 5e3e6903cb
31 changed files with 479 additions and 193 deletions

View File

@ -21,7 +21,7 @@ export interface GetCityCodeRequest {
longitude: number; // 经度,范围为-180~180负数表示西经
}
export interface CityOperatorListItem {
export interface CityConfigListItem {
id: number;
staffId: number;
staffName: string;
@ -30,4 +30,6 @@ export interface CityOperatorListItem {
groupLink: string;
created: string;
updated: string;
price: number | null;
sendCount: number | null;
}

View File

@ -1,5 +1,12 @@
import { EmployType } from '@/constants/job';
import { AnchorReadType, AnchorSortType, GenderType, ProfileCreateSource, WorkedYears } from '@/constants/material';
import {
AnchorReadType,
AnchorSortType,
EducationType,
GenderType,
ProfileCreateSource,
WorkedYears,
} from '@/constants/material';
import { IPaginationRequest, IPaginationResponse } from '@/types/common';
export interface MaterialVideoInfo {
@ -51,6 +58,7 @@ export interface MaterialProfile {
filledItems: number; // 已填资料项数
created: number; // 时间戳
updated: number; // 时间戳
educationType: EducationType;
}
export interface AnchorInfo {

View File

@ -2,7 +2,7 @@ import { RoleType, PageType } from '@/constants/app';
import { UserMessage } from '@/types/message';
import { PartnerInfo } from '@/types/partner';
import { LocationInfo } from './location';
import { CityConfigListItem, LocationInfo } from './location';
import { UserInfo } from './user';
export interface IState {
@ -17,8 +17,5 @@ export interface AppState {
roleType: RoleType;
homePageType: PageType;
location: LocationInfo;
cityOperators: Array<{
cityCode: string;
groupLink: string;
}>;
cityConfigs: CityConfigListItem[];
}