Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
U
unify_api2
Project
Project
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
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
chaonan
unify_api2
Commits
8702e1bf
Commit
8702e1bf
authored
Jun 04, 2024
by
ZZH
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
opt list point 2024-06-04
parent
ad54c5f9
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
1 deletion
+4
-1
list_point_service.py
unify_api/modules/common/service/list_point_service.py
+4
-1
No files found.
unify_api/modules/common/service/list_point_service.py
View file @
8702e1bf
...
...
@@ -123,7 +123,10 @@ async def load_list_point(user_id, cid):
list_point
=
[]
lang
=
await
load_user_lang
(
user_id
)
if
lang
!=
"zh_CN"
:
mtr_names
=
await
load_monitor_names
(
list
(
points
.
keys
()),
lang
)
else
:
mtr_names
=
{}
for
mtid
,
point
in
points
.
items
():
pid
,
p_name
=
point
[
"pid"
],
point
.
get
(
"name"
,
""
)
add_to_company
=
point
[
"add_to_company"
]
...
...
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