mirror of
https://git.oceanpay.cc/danial/kami_itunes_june.git
synced 2025-12-18 22:31:24 +00:00
chore: update settings and project configuration for improved API request handling and output path
This commit is contained in:
@@ -4,7 +4,8 @@
|
||||
"Bash(find:*)",
|
||||
"Bash(dotnet build:*)",
|
||||
"Bash(dotnet publish:*)",
|
||||
"Bash(dotnet clean:*)"
|
||||
"Bash(dotnet clean:*)",
|
||||
"Bash(dir:*)"
|
||||
],
|
||||
"deny": [],
|
||||
"ask": []
|
||||
|
||||
@@ -24,7 +24,7 @@
|
||||
<PlatformTarget>AnyCPU</PlatformTarget>
|
||||
|
||||
<!-- 输出配置 -->
|
||||
<OutputPath>bin\$(Configuration)\$(TargetFramework)</OutputPath>
|
||||
<OutputPath>bin\$(Configuration)\$(TargetFramework)\</OutputPath>
|
||||
<DebugType Condition=" '$(Configuration)' == 'Debug' ">full</DebugType>
|
||||
<DebugType Condition=" '$(Configuration)' == 'Release' ">pdbonly</DebugType>
|
||||
<DebugSymbols Condition=" '$(Configuration)' == 'Debug' ">true</DebugSymbols>
|
||||
|
||||
@@ -76,10 +76,12 @@ namespace AppleBatch_June
|
||||
webHeaderCollection.Add("token", HttpUtility.UrlEncode(Tools.EncodeBase64(Encoding.UTF8.GetBytes(s))));
|
||||
}
|
||||
webHeaderCollection.Add("version", FormLogin.versions);
|
||||
HttpItem httpItem = new HttpItem();
|
||||
httpItem.URL = host + "/AppleClientApi/requestApi";
|
||||
httpItem.Method = "post";
|
||||
httpItem.Postdata = text4 + "&sign=" + mD5_2 + "&type=" + type;
|
||||
HttpItem httpItem = new HttpItem
|
||||
{
|
||||
URL = host + "/AppleClientApi/requestApi",
|
||||
Method = "post",
|
||||
Postdata = text4 + "&sign=" + mD5_2 + "&type=" + type
|
||||
};
|
||||
httpItem.Headers["User-Agent"] = "liuyeu_AppleBatch_June";
|
||||
httpItem.ContentType = "application/x-www-form-urlencoded";
|
||||
httpItem.Header = webHeaderCollection;
|
||||
@@ -87,7 +89,6 @@ namespace AppleBatch_June
|
||||
httpItem.KeepAlive = true;
|
||||
HttpItem httpItem2 = httpItem;
|
||||
HttpResult html = httpHelper.GetHtml(httpItem2);
|
||||
MessageBox.Show(html.Html.ToString());
|
||||
stopwatch.Stop();
|
||||
if (html.StatusCode == HttpStatusCode.OK)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user