/// <summary> /// 下载文件 /// </summary> /// <param name="urlFormat">API接口地址格式</param> /// <param name="stream">下载的文件流信息</param> /// <param name="querys">需要传递的参数</param> public static void Download(string urlFormat, Stream stream, params string[] querys) { RequestUtility.Download(string.Format(urlFormat, querys), stream); }