Senparc.Weixin.Work.AdvancedAPIs.AppApi.GetAppListAsync C# (CSharp) Method

GetAppListAsync() public static method

【异步方法】获取应用概况列表
public static GetAppListAsync ( string accessToken, int timeOut = Config.TIME_OUT ) : Task
accessToken string
timeOut int 代理请求超时时间(毫秒)
return Task
        public static async Task<GetAppListResult> GetAppListAsync(string accessToken, int timeOut = Config.TIME_OUT)
        {
            string url = string.Format("https://qyapi.weixin.qq.com/cgi-bin/agent/list?access_token={0}", accessToken.AsUrlData());

            return await Get.GetJsonAsync<GetAppListResult>(url);
        }
        #endregion