Senparc.Weixin.MP.AdvancedAPIs.MerChant.M2.M2 C# (CSharp) Method

M2() public method

控件2数据初始化
public M2 ( int groupIds ) : System.Collections.Generic
groupIds int groups/[group_id]
return System.Collections.Generic
        public M2(int[] groupIds)
        {
            group_infos = new M2_GroupInfos
            {
                groups = new List<Group>()
            };

            for (var i = 0; i < groupIds.Length; i++)
            {
                group_infos.groups.Add(new Group {group_id = groupIds[i]});
            }
            eid = 2;
        }
M2