department

package
v0.2.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 25, 2023 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DeptList

func DeptList(orgid, deptid *string)

1.获取学校内部组织结构

func SchoolDeptlist

func SchoolDeptlist(orgid, deptid *string)

2.获取家校部门列表

func SchoolOrginfo

func SchoolOrginfo(orgid, deptid *string)

5.获取学校基本信息

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 DeptInfo

func DeptInfo(orgid, deptid *string) (*RespDepartment, error)

3.获取内部部门信息

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"`
}

部门列表

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL