diff --git a/ZR.Service/mes/wms/WmAGVService.cs b/ZR.Service/mes/wms/WmAGVService.cs index 2b57a9d9..9ef300ee 100644 --- a/ZR.Service/mes/wms/WmAGVService.cs +++ b/ZR.Service/mes/wms/WmAGVService.cs @@ -167,10 +167,16 @@ namespace ZR.Service.Business string response= HttpHelper.HttpPost(url, postData); - - + // 保存当前控制台文本颜色 + ConsoleColor originalColor = Console.ForegroundColor; - AGV_task_third res_data= JsonSerializer.Deserialize(response); + // 设置文本颜色为红色 + Console.ForegroundColor = ConsoleColor.Red; + Console.WriteLine("=======》打印请求数据返回:"+response); + Console.ForegroundColor = originalColor; + + + AGV_task_third res_data= JsonSerializer.Deserialize(response); if(res_data!=null &&res_data.code=="0") {