|
@@ -15,7 +15,7 @@ export const studentQueryUserInfo = async () => {
|
|
phone:data.phone,
|
|
phone:data.phone,
|
|
clientType:"TEACHER",
|
|
clientType:"TEACHER",
|
|
id:data.id,
|
|
id:data.id,
|
|
- gender:""
|
|
|
|
|
|
+ gender: data.gender || 1
|
|
}
|
|
}
|
|
return res
|
|
return res
|
|
} else if (requestHostname === "/api-web") {
|
|
} else if (requestHostname === "/api-web") {
|
|
@@ -35,7 +35,7 @@ export const studentQueryUserInfo = async () => {
|
|
phone:data.phone,
|
|
phone:data.phone,
|
|
clientType:"web",
|
|
clientType:"web",
|
|
id:data.id,
|
|
id:data.id,
|
|
- gender:""
|
|
|
|
|
|
+ gender: data.gender || 1
|
|
}
|
|
}
|
|
return res
|
|
return res
|
|
} else {
|
|
} else {
|
|
@@ -48,7 +48,7 @@ export const studentQueryUserInfo = async () => {
|
|
phone:data.phone,
|
|
phone:data.phone,
|
|
clientType:"STUDENT",
|
|
clientType:"STUDENT",
|
|
id:data.id,
|
|
id:data.id,
|
|
- gender:""
|
|
|
|
|
|
+ gender: data.gender || 1
|
|
}
|
|
}
|
|
if (res.data.specialInstrumentIds.length > 1 && data.extInstrumentNames?.length) {
|
|
if (res.data.specialInstrumentIds.length > 1 && data.extInstrumentNames?.length) {
|
|
data.extInstrumentNames.forEach((ext: any) => {
|
|
data.extInstrumentNames.forEach((ext: any) => {
|