string urlPath = ConfigurationManager.AppSettings["urlPath"] + "?AFFAIRID=" + affairguide.AFFAIRID;
HttpClient client = new HttpClient();
string response = client.GetStringAsync(urlPath).Result;
if (response != "")
{
return "error";
}
httpClient简单应用
最新推荐文章于 2022-06-24 18:58:10 发布