fix: change project struct

This commit is contained in:
Zhaolong
2022-01-25 22:57:24 +08:00
parent 3be9b86fff
commit da9965e2ae
10 changed files with 166 additions and 19 deletions

0
service/__init__.py Normal file
View File

View File

@@ -15,7 +15,7 @@ def faker_identification():
infos = html.xpath('//table[@width="100%"]//tr[position()!=2]/td[@bgcolor="#FFFFFF"]//text()')
result = {
'identification': infos[0],
'originArea': infos[1],
'address': infos[1],
'sex': infos[3][0],
'name': faker.last_name() + (faker.first_name_male() if infos[3][0] == '' else faker.first_name_female()),
'age': infos[4][0:-2]