代码拉取完成,页面将自动刷新
package user
import "gitee.com/suguo79/xyh"
// 用户登录信息
type RespLoginInfo struct {
xyh.Common
Data struct {
Parent bool `json:"parent"`
OrgName string `json:"orgName"`
Teacher bool `json:"teacher"`
OpenID string `json:"openId"`
Name string `json:"name"`
Avatar string `json:"avatar"`
OrgID string `json:"orgId"`
} `json:"data"`
}
// 老师用户信息
type RespTeacherInfo struct {
xyh.Common
Data struct {
Birthday interface{} `json:"birthday"`
Numbering interface{} `json:"numbering"`
Gender interface{} `json:"gender"`
Post interface{} `json:"post"`
OpenID string `json:"openId"`
Avatar interface{} `json:"avatar"`
DeptIds []string `json:"deptIds"`
UserName string `json:"userName"`
UserID string `json:"userId"`
OrgID string `json:"orgId"`
} `json:"data"`
}
// 人员孩子信息
type RespChildInfo struct {
xyh.Common
Data []StuInfo `json:"data"`
}
// 学生结构信息
type StuInfo struct {
OrgID string `json:"orgId"`
UserID string `json:"userId"`
UserName string `json:"userName"`
Gender int `json:"gender"`
Birthday string `json:"birthday"`
Avatar string `json:"avatar"`
Numbering string `json:"numbering"`
DeptIds []string `json:"deptIds"`
Parents []struct {
OpenID string `json:"openId"`
RelationType int `json:"relationType"`
RelationName string `json:"relationName"`
} `json:"parents"`
}
// 学生信息
type RespStudentInfo struct {
xyh.Common
Data StuInfo `json:"data"`
}
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。