添加球局参与者头像

This commit is contained in:
2025-09-15 21:50:37 +08:00
parent f4c7840130
commit 8d639aed28

View File

@@ -18,7 +18,7 @@ interface UserDetailData {
country: string;
province: string;
city: string;
district:string;
district: string;
language: string;
phone: string;
is_subscribed: string;
@@ -51,7 +51,7 @@ export interface UserInfoType {
country: string
province: string
city: string
district:string
district: string
language: string
phone: string
is_subscribed: string
@@ -111,6 +111,11 @@ interface BackendGameData {
venue_type: string;
surface_type: string;
};
participants: {
user: {
avatar_url: string;
};
}[];
}
// 用户服务类
@@ -166,7 +171,8 @@ export class UserService {
image_list: images,
court_type: game.court_type || '未知',
matchType: game.play_type || '不限',
shinei: game.court_type || '未知'
shinei: game.court_type || '未知',
participants: game.participants || [],
};
});
}
@@ -230,7 +236,7 @@ export class UserService {
},
personal_profile: userData.personal_profile || '',
location: userData.city + userData.district|| '',
location: userData.city + userData.district || '',
occupation: userData.occupation || '',
ntrp_level: '',
phone: userData.phone || '',
@@ -373,8 +379,8 @@ export class UserService {
latitude: 'latitude',
longitude: 'longitude',
province: 'province',
country:"country",
city:"city",
country: "country",
city: "city",
personal_profile: 'personal_profile',
occupation: 'occupation',
ntrp_level: 'ntrp_level'