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
3f4da3fe
Commit
3f4da3fe
authored
Jul 05, 2023
by
lcn
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
bug修复
parent
c277db74
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
scope_operations_service.py
..._api/modules/zhiwei_u/service/scope_operations_service.py
+1
-1
scope_operations.py
unify_api/modules/zhiwei_u/views/scope_operations.py
+1
-1
No files found.
unify_api/modules/zhiwei_u/service/scope_operations_service.py
View file @
3f4da3fe
...
@@ -89,7 +89,7 @@ async def search_scope_service(prod_id, cid, pid, sid, page_num, page_size,
...
@@ -89,7 +89,7 @@ async def search_scope_service(prod_id, cid, pid, sid, page_num, page_size,
break
break
else
:
else
:
point
=
[]
point
=
[]
doc_id
=
info
[
"id"
]
doc_id
=
str
(
info
[
"id"
])
alarm
=
Alarm
(
check_dt
=
check_dt
,
prod_id
=
company
.
get
(
"product"
),
alarm
=
Alarm
(
check_dt
=
check_dt
,
prod_id
=
company
.
get
(
"product"
),
product
=
config
.
PRODUCT
[
company
.
get
(
"product"
)],
product
=
config
.
PRODUCT
[
company
.
get
(
"product"
)],
cid
=
cid
,
shortname
=
company
.
get
(
"shortname"
),
cid
=
cid
,
shortname
=
company
.
get
(
"shortname"
),
...
...
unify_api/modules/zhiwei_u/views/scope_operations.py
View file @
3f4da3fe
...
@@ -20,7 +20,7 @@ async def post_search_scope(req, body: SearchScopeRep) -> SearchScopeResq:
...
@@ -20,7 +20,7 @@ async def post_search_scope(req, body: SearchScopeRep) -> SearchScopeResq:
@
summary
(
'录波查询-详情'
)
@
summary
(
'录波查询-详情'
)
async
def
post_scope_detai
1
(
req
,
body
:
ScopeDetailRep
)
->
SearchScopeResq
:
async
def
post_scope_detai
l
(
req
,
body
:
ScopeDetailRep
)
->
SearchScopeResq
:
id
=
body
.
id
id
=
body
.
id
wave_range
=
body
.
wave_range
wave_range
=
body
.
wave_range
return
await
scope_detail_service
(
id
,
wave_range
)
return
await
scope_detail_service
(
id
,
wave_range
)
...
...
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