Skip to content

Commit

Permalink
用户token获取文档接口新增文档编辑模式字段
Browse files Browse the repository at this point in the history
  • Loading branch information
zmister committed Mar 21, 2022
1 parent a125918 commit beb1684
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions app_api/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -187,6 +187,7 @@ def get_doc(request):
'parent_doc':doc.parent_doc, # 上级文档
'top_doc':doc.top_doc, # 所属文集
'status':doc.status, # 文档状态
"editor_mode": doc.editor_mode, # 文档编辑模式
'create_time': doc.create_time, # 文档创建时间
'modify_time': doc.modify_time, # 文档的修改时间
'create_user': doc.create_user.username # 文档的创建者
Expand Down

0 comments on commit beb1684

Please sign in to comment.