订单数据库回复
This commit is contained in:
1 parent
d9900452f2
commit
3ee52f553e
16 files changed
+973
-184
No files matched your search
@@ -329,8 +329,10 @@ namespace TemuKJD.BLL
|
||||
return result;
|
||||
}
|
||||
|
||||
public static string e57PostResponse(string _url, string _data, string referer)
|
||||
public static string e57PostResponse(string _url, string _data, string referer, string Authorization = null)
|
||||
{
|
||||
if (string.IsNullOrEmpty(Authorization))
|
||||
Authorization = "Bearer eyJhbGciOiJIUzUxMiJ9.eyJsb2dpbl91c2VyX2tleSI6IjQ3YmRlOGNlLWY5MDUtNDIzOS05M2VjLWZiN2U3MjRmOTY0NiJ9.vwxhj3t4zTDdBQTyfVjcKr-0Oma8-VtPDzE2LVkw4A4aWftncY1ikXgEhGwoYHn9E7yOnhS_Pb7FfzgecTqqHA";
|
||||
HttpWebResponse response = null;
|
||||
string result;
|
||||
try
|
||||
@@ -360,6 +362,7 @@ namespace TemuKJD.BLL
|
||||
request.Headers.Add("sec-ch-ua-mobile", @"?0");
|
||||
request.Headers.Add("sec-ch-ua-platform", @"""Windows""");
|
||||
request.Headers.Add("Upgrade-Insecure-Requests", @"1");
|
||||
request.Headers.Add("Authorization", Authorization);
|
||||
request.UserAgent = "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36";
|
||||
request.Accept = "text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.7";
|
||||
request.Headers.Add("Sec-Fetch-Site", @"none");
|
||||
|
||||
Reference in new issue
Block a user