From f791d31caf1600095a6ffd19ee987cdc761f383a Mon Sep 17 00:00:00 2001 From: sladro Date: Tue, 3 Mar 2026 19:11:59 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E6=A8=A1=E5=9E=8B=E7=8A=B6?= =?UTF-8?q?=E6=80=81=E5=A4=84=E7=90=86=E5=99=A8=E7=9A=84=E6=96=87=E4=BB=B6?= =?UTF-8?q?=E5=A4=A7=E5=B0=8F=E5=AD=97=E6=AE=B5=E5=88=B0JSON=E5=93=8D?= =?UTF-8?q?=E5=BA=94?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- MFCCreoDll.cpp | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-) diff --git a/MFCCreoDll.cpp b/MFCCreoDll.cpp index 4ed330b..dce2471 100644 --- a/MFCCreoDll.cpp +++ b/MFCCreoDll.cpp @@ -283,15 +283,16 @@ HttpResponse ModelStatusHandler(const HttpRequest& request) { << "},"; } - json << "\"fileName\": \"" << status.filename << "\"," - << "\"sourceSoftware\": \"" << status.software << "\"," - << "\"partCount\": " << status.total_parts << "," - << "\"assemblyLevel\": " << status.assembly_levels << "," - << "\"connectionStatus\": \"" << status.connection_status << "\"," - << "\"openTime\": \"" << status.open_time << "\"" - << "}," - << "\"error\": null" - << "}"; + json << "\"fileName\": \"" << status.filename << "\"," + << "\"sourceSoftware\": \"" << status.software << "\"," + << "\"partCount\": " << status.total_parts << "," + << "\"assemblyLevel\": " << status.assembly_levels << "," + << "\"fileSize\": \"" << status.file_size << "\"," + << "\"connectionStatus\": \"" << status.connection_status << "\"," + << "\"openTime\": \"" << status.open_time << "\"" + << "}," + << "\"error\": null" + << "}"; } else { json << "{" << "\"success\": false,"