Esempio n. 1
0
        /// <summary>
        /// 获取所有分组
        /// </summary>
        /// <param name="access_token"></param>
        /// <returns>
        /// {
        /// "errcode": 0,
        /// "errmsg": "success",
        /// "groups_detail": [
        ///     {
        ///       "group_id": 200077549,
        ///       "group_name": "最新上架"
        ///     },
        ///     {
        ///   "group_id": 200079772,
        ///   "group_name": "全球热卖"
        /// }
        /// ]
        /// }
        /// </returns>
        public static string GetAll(string access_token)
        {
            var result = HttpTo.Get(string.Format("https://api.weixin.qq.com/merchant/group/getall?access_token={0}", access_token));

            return(result);
        }