diff --git a/api/api_v1/endpoints/interview.py b/api/api_v1/endpoints/interview.py index ff0b40d..7587570 100644 --- a/api/api_v1/endpoints/interview.py +++ b/api/api_v1/endpoints/interview.py @@ -1979,7 +1979,7 @@ async def send_interviewee( if not user: return schemas.Msg(code=-9, msg='职位不存在', data='') user_list = [i['user_id'] for i in user['hr_name']] - send = f"""【推荐通知】\n{current_user.name}给你推荐了一位面试者\n面试者姓名:{res[0]['name']}\n岗位:{res[0]['job_names']}""" + send = f"""【推荐通知】\n{current_user.nickname}给你推荐了一位面试者\n面试者姓名:{res[0]['name']}\n岗位:{res[0]['job_names']}""" send_dates(send, user_list) department = ','.join(user_list) up_sql = f"""ALTER TABLE HR.resumes update department = '{department}' where uid = '{data_in.uid}'"""