/// <summary> /// 查询用户所在的分组 /// </summary> /// <param name="openId"></param> /// <returns></returns> public static async Task <QueryGroupOfUser> QueryAsync(string openId) { var query = new QueryGroupOfUser(openId); var response = await query.RequestAsModelAsync <QueryGroupOfUser>(); return(response); }
/// <summary> /// 查询用户所在的分组 /// </summary> /// <param name="openId"></param> /// <returns></returns> public static QueryGroupOfUser Query(string openId) { var query = new QueryGroupOfUser(openId); var response = query.RequestAsModel <QueryGroupOfUser>(); return(response); }