Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
M
mancheng
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Administrator
mancheng
Commits
a335082d
Commit
a335082d
authored
Apr 17, 2023
by
dong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix20230417
parent
c412ea33
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
9 deletions
+9
-9
apps/view_choose/choose_view.py
+9
-9
No files found.
apps/view_choose/choose_view.py
View file @
a335082d
...
@@ -75,15 +75,15 @@ def global_region(industry_id, preference, key_words, district_name, page, per_p
...
@@ -75,15 +75,15 @@ def global_region(industry_id, preference, key_words, district_name, page, per_p
data_list
=
[{
data_list
=
[{
"id"
:
region_obj
.
id
,
"id"
:
region_obj
.
id
,
"carrier_type"
:
'行政区'
,
"carrier_type"
:
'行政区'
,
"region_name"
:
region_obj
.
name
,
"region_name"
:
region_obj
.
name
if
region_obj
.
name
else
''
,
"cover_region_area"
:
region_obj
.
area
,
"cover_region_area"
:
region_obj
.
area
if
region_obj
.
area
else
''
,
"gdp"
:
region_obj
.
gdp
,
"gdp"
:
region_obj
.
gdp
if
region_obj
.
gdp
else
''
,
"detail_address"
:
region_obj
.
address
,
# 审核信息
"detail_address"
:
region_obj
.
address
if
region_obj
.
address
else
''
,
# 审核信息
"industry_name"
:
region_obj
.
navigat
,
"industry_name"
:
region_obj
.
navigat
if
region_obj
.
navigat
else
''
,
"district_name"
:
region_obj
.
region
,
"district_name"
:
region_obj
.
region
if
region_obj
.
region
else
''
,
"price_url"
:
region_obj
.
image
,
"price_url"
:
region_obj
.
image
if
region_obj
.
image
else
''
,
"lng"
:
region_obj
.
lng
,
"lng"
:
region_obj
.
lng
if
region_obj
.
lng
else
''
,
"lat"
:
region_obj
.
lat
"lat"
:
region_obj
.
lat
if
region_obj
.
lat
else
''
}
for
region_obj
in
region_obj_list
]
}
for
region_obj
in
region_obj_list
]
data
=
{
"code"
:
RET
.
OK
,
"data"
:
{
"data_list"
:
data_list
,
"size"
:
carrier_size
,
"msg"
:
"行政区 数据获取成功!"
}}
data
=
{
"code"
:
RET
.
OK
,
"data"
:
{
"data_list"
:
data_list
,
"size"
:
carrier_size
,
"msg"
:
"行政区 数据获取成功!"
}}
return
data
return
data
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment