上传者: maozhen123
|
上传时间: 2021-09-28 10:28:32
|
文件大小: 26KB
|
文件类型: CS
包含了get和post各种参数形式及方法, public static U Post(string url, T model, NameValueCollection headers = null)
{
return HttpClientHelper.Post(url, model, headers);
}
public static U Get(string url, T model, NameValueCollection headers = null)
{
return HttpClientHelper.Get(url, model, headers);
}