Method: WeixinAuthorize::Api::Groups#batch_update_group_for_openids

Defined in:
lib/weixin_authorize/api/groups.rb

#batch_update_group_for_openids(openids, group_id) ⇒ Object

批量移动用户分组



42
43
44
45
# File 'lib/weixin_authorize/api/groups.rb', line 42

def batch_update_group_for_openids(openids, group_id)
  group_url = "#{group_base_url}/members/batchupdate"
  http_post(group_url, {openid_list: openids, to_groupid: group_id})
end