直发买手拍单功能

This commit is contained in:
wule committed 2026-08-03 16:23:25 +08:00
1 parent fe9635f37f
commit 785fcce29e
22 files changed
+1172 -529

No files matched your search

+3 -3
View File
@@ -1148,7 +1148,7 @@ Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrom
public static string PostUtf8(string url, string postData, string contentType = "", int timeOut = -1)
{
//return PostUtf8(url, Encoding.UTF8.GetBytes(postData));
bool isError = false;
//bool isError = false;
string[] l = UserAgent.Split('\n');
try
{
@@ -1199,13 +1199,13 @@ Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrom
}
catch (Exception e)
{
LogSave.Add(url + "---------" + e.ToString());
//LogSave.Add(url + "---------" + e.ToString());
//if (!isError)
//{
// isError = true;
// goto reTry;
//}
return "{\"code\": 400,\"data\": []}";
return "{\"code\": 400,\"msg\":\"" + e.Message + "\"}";
}
}
/// <summary>