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
ae1fa328
Commit
ae1fa328
authored
Apr 17, 2023
by
wang.wenrong
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'wwr' into 'develop'
tsp_index See merge request
!23
parents
fc0594f2
e029f0ea
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
tsp.py
unify_api/modules/tsp_water/views/tsp.py
+2
-1
No files found.
unify_api/modules/tsp_water/views/tsp.py
View file @
ae1fa328
...
...
@@ -12,7 +12,8 @@ from unify_api.modules.tsp_water.service.tsp_service import \
@
summary
(
"TSP信息-实时参数"
)
async
def
post_real_time
(
req
,
body
:
DtReq
)
->
DtResp
:
tsp_id
=
body
.
tsp_id
return
await
real_time_service
(
tsp_id
)
# return await real_time_service(tsp_id)
return
DtResp
(
pm2_5
=
0
,
pm10
=
0
,
tsp
=
0
)
@
summary
(
"TSP信息-历史曲线"
)
...
...
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