From f5fdc8dd3f7e3d7f4f8547a17f405cd63fb99afe Mon Sep 17 00:00:00 2001 From: Administrator Date: Mon, 2 Feb 2026 16:20:49 +0800 Subject: [PATCH] =?UTF-8?q?1.=E4=BF=AE=E6=94=B9=E4=BA=86=E5=85=AC=E5=91=8A?= =?UTF-8?q?=E9=99=84=E4=BB=B6=E4=B8=8E=E5=88=B6=E5=BA=A6=E9=99=84=E4=BB=B6?= =?UTF-8?q?=E8=BD=ACjson?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- business/views.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/business/views.py b/business/views.py index d4592e7..947f329 100644 --- a/business/views.py +++ b/business/views.py @@ -2946,7 +2946,7 @@ class BulletinDetail(APIView): "title": info.title, "content": info.content, "times": info.times, - "file": file_result, + "file": json.dumps(file_result),#file_result, "username": info.username, "state": info.state, }) @@ -5076,7 +5076,7 @@ class SystemList(APIView): "title": info.title, "content": info.content, "times": info.times, - "file": file_result, + "file": json.dumps(file_result), # file 字段解析, "username": info.username, "state": info.state, })