1.修改了公告附件与制度附件转json

This commit is contained in:
Administrator
2026-02-02 16:20:49 +08:00
parent 9b19987387
commit f5fdc8dd3f

View File

@@ -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,
})