fix:edu 增加用户ID

This commit is contained in:
zty 2024-06-06 10:38:28 +08:00
parent 88a25232d8
commit 6694a4f0d6
1 changed files with 1 additions and 1 deletions

View File

@ -639,7 +639,7 @@ class ExamRecordViewSet(ListModelMixin, DestroyModelMixin, RetrieveModelMixin, G
now_data = datetime.now()
course = exam.course_name.all()
courese_ids = [i.id for i in course]
current_date = now_data.strftime('%Y%m%d')
current_date = now_data.strftime('%Y%m%d')
data_dict = {
'姓名': request.user.name,
'用户ID': request.user,