This commit is contained in:
qianhao.xu
2024-04-23 09:35:11 +08:00
parent c197cacbe5
commit dfe7c63307

View File

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