Code Management/WCS/WIDESEAWCS_Server/.vs/WIDESEAWCS_Server/CopilotIndices/17.14.1231.31060/CodeChunks.dbBinary files differ
Code Management/WCS/WIDESEAWCS_Server/.vs/WIDESEAWCS_Server/CopilotIndices/17.14.1231.31060/CodeChunks.db-shmBinary files differ
Code Management/WCS/WIDESEAWCS_Server/.vs/WIDESEAWCS_Server/CopilotIndices/17.14.1231.31060/CodeChunks.db-walBinary files differ
Code Management/WCS/WIDESEAWCS_Server/.vs/WIDESEAWCS_Server/CopilotIndices/17.14.1231.31060/SemanticSymbols.dbBinary files differ
Code Management/WCS/WIDESEAWCS_Server/.vs/WIDESEAWCS_Server/CopilotIndices/17.14.1231.31060/SemanticSymbols.db-walBinary files differ
Code Management/WMS/WIDESEA_WMSServer/.vs/WIDESEA_WMSServer/CopilotIndices/17.14.1231.31060/CodeChunks.dbBinary files differ
Code Management/WMS/WIDESEA_WMSServer/.vs/WIDESEA_WMSServer/CopilotIndices/17.14.1231.31060/CodeChunks.db-shmcopy from Code Management/WCS/WIDESEAWCS_Server/.vs/WIDESEAWCS_Server/CopilotIndices/17.14.1231.31060/SemanticSymbols.db-shm copy to Code Management/WMS/WIDESEA_WMSServer/.vs/WIDESEA_WMSServer/CopilotIndices/17.14.1231.31060/CodeChunks.db-shm Binary files differ
Code Management/WMS/WIDESEA_WMSServer/.vs/WIDESEA_WMSServer/CopilotIndices/17.14.1231.31060/CodeChunks.db-walBinary files differ
Code Management/WMS/WIDESEA_WMSServer/.vs/WIDESEA_WMSServer/CopilotIndices/17.14.1231.31060/SemanticSymbols.dbBinary files differ
Code Management/WMS/WIDESEA_WMSServer/.vs/WIDESEA_WMSServer/CopilotIndices/17.14.1231.31060/SemanticSymbols.db-shmBinary files differ
Code Management/WMS/WIDESEA_WMSServer/.vs/WIDESEA_WMSServer/CopilotIndices/17.14.1231.31060/SemanticSymbols.db-walBinary files differ
Code Management/WMS/WIDESEA_WMSServer/WIDESEA_Common/HttpClient/HttpsClient.cs
@@ -113,6 +113,50 @@ } } public static async Task<string> PostNotLimitAsync(string url, Dictionary<string, object> parameters) { try { // 记录请求参数 LogRequestParameters(parameters, url); // 创建HttpClient实例 using (HttpClient client = new HttpClient()) { // 将参数转换为FormUrlEncodedContent string content = JsonConvert.SerializeObject(parameters); //client.Timeout = TimeSpan.from; var request = new HttpRequestMessage(HttpMethod.Post, url); request.Content = new StringContent(content, Encoding.UTF8, "application/json"); //var content = new FormUrlEncodedContent(ConvertToKeyValuePairs(parameters)); //// 发送POST请求并获取响应 //HttpResponseMessage response = await client.PostAsync(url, content); HttpResponseMessage response = await client.SendAsync(request); // 确保响应成功 response.EnsureSuccessStatusCode(); // 读取响应内容 string responseBody = await response.Content.ReadAsStringAsync(); // 记录响应参数 LogResponseParameters(responseBody, url); // 返回响应内容 return responseBody; } } catch (Exception ex) { LogErrorParameters(ex.StackTrace, ex.Message, url); return ex.Message; } } private static void LogErrorParameters(string errordetail, string error, string url = "") { StringBuilder builder = new StringBuilder(); Code Management/WMS/WIDESEA_WMSServer/WIDESEA_StoragIntegrationServices/MOM/AgingInOrOutInput/AgingInOrOutInputService.cs
@@ -142,9 +142,7 @@ } var MOMIpAddress = MOMBase + ipAddress; var result = HttpsClient.PostAsync(MOMIpAddress, inputJson).Result; //var respone = JsonConvert.DeserializeObject<EqptRunDTO>(result.ToString()); var result = HttpsClient.PostNotLimitAsync(MOMIpAddress, inputJson).Result; content.OK(data: result); LogFactory.GetLog("换型").Info(true, $"\r\r--------------------------------------");