You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

26 lines
589 B

3 years ago
using System.Text;
using System.Threading.Tasks;
namespace learun.wechat
{
/// <summary>
/// 版 本 EasyCode EC管理后台
/// Copyright (c) 2019-present EC管理有限公司
/// 创建人:tobin
/// 日 期:2019.11.06
/// 描 述:post文件请求
/// </summary>
public class HttpPostFileRequest : IHttpSend
{
/// <summary>
///
/// </summary>
/// <param name="url"></param>
/// <param name="data"></param>
/// <returns></returns>
public Task<string> Send(string url, string data)
{
return new HttpHelper().PostFile(url, data, Encoding.UTF8);
}
}
}