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

用户管理相关操作接口-PR了一个重载方法,调用方无需多次调用拼接数据 #2811

Merged
merged 3 commits into from
Sep 13, 2022

Conversation

Cocowwy
Copy link

@Cocowwy Cocowwy commented Sep 7, 2022

me.chanjar.weixin.mp.api.WxMpUserService#userList()
该接口新增一个重载方法,调用方无需多次调用来拼接全量数据,内部实现存在 nextOpenid 的时候,自动进行调用,进行merage操作

…ing) 重载了一个方法,屏蔽多次需要多次拉取,对于调用方,可一次性拉取所有用户数据
@binarywang
Copy link
Owner

请教下 merage 是啥意思呢?

@Cocowwy
Copy link
Author

Cocowwy commented Sep 13, 2022

请教下 merage 是啥意思呢?
就是原本存在nextOpenId的时候是需要使用者根据nextOpenId继续请求,我这边只是封装了一下,当存在nextOpenId的时候,将所有数据合并成一个list,适用方通过接口拿到的就是全量的数据,而不需要再去做逻辑判断🙉

@binarywang
Copy link
Owner

请教下 merage 是啥意思呢?
就是原本存在nextOpenId的时候是需要使用者根据nextOpenId继续请求,我这边只是封装了一下,当存在nextOpenId的时候,将所有数据合并成一个list,适用方通过接口拿到的就是全量的数据,而不需要再去做逻辑判断🙉

你是说 merge 吗?那麻烦修复下吧

@binarywang binarywang merged commit 286596f into binarywang:develop Sep 13, 2022
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.

2 participants