正则解析
This commit is contained in:
parent
adb3d46f39
commit
2307b5db23
@ -18,6 +18,7 @@ from core.security import get_password_hash
|
|||||||
from schemas import ExtendendOAuth
|
from schemas import ExtendendOAuth
|
||||||
from utils.dingding import *
|
from utils.dingding import *
|
||||||
from utils.jianli import get_resume
|
from utils.jianli import get_resume
|
||||||
|
from utils.re_to_jianli import fmt_txt, getText_pdf
|
||||||
from utils.func import get_uid
|
from utils.func import get_uid
|
||||||
import crud, schemas
|
import crud, schemas
|
||||||
from datetime import datetime
|
from datetime import datetime
|
||||||
@ -377,7 +378,8 @@ async def interview_file_insert(
|
|||||||
try:
|
try:
|
||||||
res = obsClient.getObject('legu-cdn-source', data_in.filenames, path_data + '/' + filename)
|
res = obsClient.getObject('legu-cdn-source', data_in.filenames, path_data + '/' + filename)
|
||||||
if res.status < 300:
|
if res.status < 300:
|
||||||
data = get_resume(filename, path_data)
|
chk_txt = getText_pdf(filename)
|
||||||
|
data = fmt_txt(chk_txt)
|
||||||
education = data['education']
|
education = data['education']
|
||||||
# 学历int转化
|
# 学历int转化
|
||||||
education_int = {
|
education_int = {
|
||||||
|
1364
utils/re_to_jianli.py
Normal file
1364
utils/re_to_jianli.py
Normal file
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user