|
||||||||||
| 上一个类 下一个类 | 框架 无框架 | |||||||||
| 摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 | |||||||||
java.lang.Objectcom.github.sd4324530.fastweixin.company.api.QYBaseAPI
com.github.sd4324530.fastweixin.company.api.QYDepartmentAPI
public class QYDepartmentAPI
==================================================================== 上海聚攒软件开发有限公司 --------------------------------------------------------------------
| 字段摘要 |
|---|
| 从类 com.github.sd4324530.fastweixin.company.api.QYBaseAPI 继承的字段 |
|---|
BASE_API_URL, config |
| 构造方法摘要 | |
|---|---|
QYDepartmentAPI(QYAPIConfig config)
构造方法,设置apiConfig |
|
| 方法摘要 | |
|---|---|
CreateDepartmentResponse |
create(QYDepartment department)
创建部门 |
QYResultType |
delete(Integer id)
删除部门 |
GetDepartmentListResponse |
getList(Integer parentId)
获取部门列表 |
QYResultType |
update(QYDepartment department)
更新部门 |
| 从类 com.github.sd4324530.fastweixin.company.api.QYBaseAPI 继承的方法 |
|---|
executeGet, executePost, executePost, isSuccess |
| 从类 java.lang.Object 继承的方法 |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| 构造方法详细信息 |
|---|
public QYDepartmentAPI(QYAPIConfig config)
config - 微信API配置对象| 方法详细信息 |
|---|
public GetDepartmentListResponse getList(Integer parentId)
parentId - 父级部门ID。可不填,不填表示顶级部门
public CreateDepartmentResponse create(QYDepartment department)
department - 部门信息
public QYResultType update(QYDepartment department)
department - 需要更新的部门
public QYResultType delete(Integer id)
id - 部门ID
|
||||||||||
| 上一个类 下一个类 | 框架 无框架 | |||||||||
| 摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 | |||||||||