From 317c101054a12c0218513f8dc4dc9cbe737be6a3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=8E=E4=BC=9F?= <250213850@qq.com> Date: Fri, 16 Sep 2022 18:27:56 +0800 Subject: [PATCH] =?UTF-8?q?1.=E4=BC=98=E5=8C=96=E9=9D=A2=E8=AF=95=E9=98=B6?= =?UTF-8?q?=E6=AE=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- api/api_v1/endpoints/interview.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/api/api_v1/endpoints/interview.py b/api/api_v1/endpoints/interview.py index a2ad1c9..2e835f0 100644 --- a/api/api_v1/endpoints/interview.py +++ b/api/api_v1/endpoints/interview.py @@ -140,6 +140,9 @@ def chkData(data): if 'education' in res1: education = res1['education'] res1['education'] = education_dict[education] + if 'teacher_txt' in res1: + teacher_txt=json.loads(res1['teacher_txt']) + res1['teacher_txt'] = teacher_txt res_data.append(res1) return res_data