Documentation ¶
Index ¶
- type Client
- func (comp *Client) Create(data *power.HashMap) (*response.ResponseDepartmentCreate, error)
- func (comp *Client) Delete(id int) (*response.ResponseDepartmentDelete, error)
- func (comp *Client) List() (*response.ResponseDepartmentList, error)
- func (comp *Client) Update(id int, data *power.HashMap) (*response.ResponseDepartmentUpdate, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
*kernel.BaseClient
}
func RegisterProvider ¶
func RegisterProvider(app kernel.ApplicationInterface) *Client
func (*Client) Create ¶
创建部门 https://open.work.weixin.qq.com/api/doc/90000/90135/90205
func (*Client) Delete ¶
func (comp *Client) Delete(id int) (*response.ResponseDepartmentDelete, error)
删除部门 https://open.work.weixin.qq.com/api/doc/90000/90135/90207
func (*Client) List ¶
func (comp *Client) List() (*response.ResponseDepartmentList, error)
获取部门列表 https://open.work.weixin.qq.com/api/doc/90000/90135/90208
func (*Client) Update ¶
更新部门 https://open.work.weixin.qq.com/api/doc/90000/90135/90206
Click to show internal directories.
Click to hide internal directories.