1.修改了公告附件与制度附件转json
This commit is contained in:
@@ -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,
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user