var url = $"http://api.。。。";
string postDataStr = " 参数 ";
HttpWebRequest request = (HttpWebRequest)WebRequest.Create(url + (postDataStr == "" ? "" : "?") + postDataStr);
request.Method = "GET";
request.ContentType = "application/json";
//把token添加进请求头
request.Headers.Add("Authorization", token);
HttpWebResponse response = (HttpWebResponse)request.GetResponse();
Stream myResponseStream = response.GetResponseStream();
StreamReader myStreamReader = new StreamReader(myResponseStream, Encoding.GetEncoding("utf-8"));
string retString = myStreamReader.ReadToEnd();
var JObject2 = JObject.Parse(retString);
var messag = JObject2["message"].ToString();
var sssloginmodel = JsonHelper.ToJsonEntity<List<T>>(messag);