Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Add APIs for User and Department #712

Merged
merged 4 commits into from
Aug 25, 2023

Conversation

shfc
Copy link
Contributor

@shfc shfc commented Aug 23, 2023

  • Implement 'create' and 'delete' APIs for User
  • Implement 'create' API for Department

- Implement 'create' and 'delete' APIs for User
- Implement 'create' API for Department
@@ -62,6 +67,91 @@ func (r *Client) UserSimpleList(departmentID int) ([]*UserList, error) {
return result.UserList, nil
}

type (
// UserCreateRequest 创建成员数据请求
UserCreateRequest struct {
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

这个结构体是不是可以拆分一下

@silenceper silenceper merged commit da80430 into silenceper:v2 Aug 25, 2023
10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants