From f801f42341c14aa4c6c69ac133d81ac6c44d940b Mon Sep 17 00:00:00 2001 From: yangjian Date: Tue, 20 Dec 2022 21:16:52 +0800 Subject: [PATCH] =?UTF-8?q?=E6=96=B0=E5=A2=9E=E7=94=A8=E6=88=B7Token=20API?= =?UTF-8?q?=E6=96=87=E9=9B=86=E5=88=97=E8=A1=A8=E6=8E=A5=E5=8F=A3=E6=96=87?= =?UTF-8?q?=E9=9B=86=E5=88=9B=E5=BB=BA=E6=97=B6=E9=97=B4=E5=AD=97=E6=AE=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app_api/views.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app_api/views.py b/app_api/views.py index c8f2181..cc99962 100644 --- a/app_api/views.py +++ b/app_api/views.py @@ -129,7 +129,8 @@ def get_projects(request): 'id':project.id, # 文集ID 'name':project.name, # 文集名称 'icon': project.icon, # 文集图标 - 'type':project.role # 文集状态 + 'type':project.role, # 文集状态 + 'create_time': project.create_time } project_list.append(item) return JsonResponse({'status':True,'data':project_list})