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
d2431157
Commit
d2431157
authored
Mar 08, 2023
by
dong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix20230308
parent
9d24d6f1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
3 deletions
+2
-3
apps/view_radar/view.py
+2
-3
No files found.
apps/view_radar/view.py
View file @
d2431157
...
@@ -1221,7 +1221,7 @@ def newList1():
...
@@ -1221,7 +1221,7 @@ def newList1():
remind
=
""
remind
=
""
enterprise
=
enterprise
enterprise
=
enterprise
size
=
enterprise
.
count
()
size
=
enterprise
.
count
()
enters
=
enterprise
.
order_by
(
e
nterprise
.
hots
.
desc
())
.
paginate
(
page
,
perpage
)
.
items
enters
=
enterprise
.
order_by
(
E
nterprise
.
hots
.
desc
())
.
paginate
(
page
,
perpage
)
.
items
enter
=
[{
"id"
:
i
.
id
,
enter
=
[{
"id"
:
i
.
id
,
"name"
:
i
.
company_name
,
"name"
:
i
.
company_name
,
"hots"
:
i
.
hots
,
"hots"
:
i
.
hots
,
...
@@ -1237,4 +1237,4 @@ def newList1():
...
@@ -1237,4 +1237,4 @@ def newList1():
return
jsonify
(
code
=
RET
.
OK
,
msg
=
"查找成功"
,
data
=
data
)
return
jsonify
(
code
=
RET
.
OK
,
msg
=
"查找成功"
,
data
=
data
)
except
Exception
as
e
:
except
Exception
as
e
:
current_app
.
logger
.
error
(
e
)
current_app
.
logger
.
error
(
e
)
return
jsonify
(
code
=
RET
.
DBERR
,
msg
=
"数据库错误"
)
return
jsonify
(
code
=
RET
.
DBERR
,
msg
=
"数据库错误"
)
\ No newline at end of file
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