Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Department ¶ added in v0.1.1
type Department struct {
ParentID string `json:"parentId"`
OrgName string `json:"orgName"`
DeptID string `json:"deptId"`
DeptName string `json:"deptName"`
DeptType string `json:"deptType"`
DeptNickName string `json:"deptNickName,omitempty"`
SchoolYear string `json:"schoolYear,omitempty"`
DeptGroup int `json:"deptGroup"` //部门分组,0学校内部部门,1家校部门
SortNum int `json:"sortNum"`
}
部门结构
type RespDepartment ¶ added in v0.1.1
type RespDepartment struct {
xyh.Common
Data Department `json:"data"`
}
部门信息
func SchoolDeptinfo ¶
func SchoolDeptinfo(orgid, deptid *string) (*RespDepartment, error)
4.获取家校部门信息
type RespDeptList ¶ added in v0.1.1
type RespDeptList struct {
xyh.Common
Data []Department `json:"data"`
}
部门列表
Click to show internal directories.
Click to hide internal directories.