This commit is contained in:
Administrator
2026-03-05 00:27:59 +08:00
parent 05f44920a2
commit 45e21cb7a1

View File

@@ -83,9 +83,12 @@ def main():
print(i["body"]) print(i["body"])
body = i.get("body") or {} body = i.get("body") or {}
age = body["resume"]["age"] # 年龄 try:
education = body["resume"]["education"] # 大专 age = body["resume"]["age"] # 年龄
position = body["resume"]["position"] # 期望职位 education = body["resume"]["education"] # 大专
position = body["resume"]["position"] # 期望职位
except:
pass
text = body.get("text") if body else None text = body.get("text") if body else None
if text and "手机号" in text: if text and "手机号" in text: