merged
This commit is contained in:
commit
6bcaaef80f
@ -106,14 +106,14 @@ namespace BackendWorkerService.Quartz.Jobs
|
|||||||
{
|
{
|
||||||
if (i != tagNameSplit.Length - 1)
|
if (i != tagNameSplit.Length - 1)
|
||||||
{
|
{
|
||||||
parames.Add(tagNameSplit[i]);
|
parames.Add(tagNameSplit[i]); // tag 前 4段
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
parames.Add(tagName);
|
parames.Add(tagName); // 第五段 完整 tag
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
logger.LogError(@$"【ParkingJob】【停車場剩餘車位】{apiFormat}");
|
||||||
HttpWebRequest request = (HttpWebRequest)WebRequest.Create(string.Format(apiFormat, parames.ToArray()));
|
HttpWebRequest request = (HttpWebRequest)WebRequest.Create(string.Format(apiFormat, parames.ToArray()));
|
||||||
request.Method = "POST";
|
request.Method = "POST";
|
||||||
request.Headers.Add("Authorization", "Basic " + encoded);
|
request.Headers.Add("Authorization", "Basic " + encoded);
|
||||||
|
Loading…
Reference in New Issue
Block a user