Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
T
traffic-signal-platform
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
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
signal
traffic-signal-platform
Commits
92d4f9ad
Commit
92d4f9ad
authored
Jan 13, 2025
by
zhoushiguang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
api param
parent
95e80f36
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
7 deletions
+7
-7
EventController.java
...c/main/java/net/wanji/opt/controller/EventController.java
+7
-7
No files found.
signal-optimize-service/src/main/java/net/wanji/opt/controller/EventController.java
View file @
92d4f9ad
...
@@ -42,10 +42,10 @@ public class EventController {
...
@@ -42,10 +42,10 @@ public class EventController {
@GetMapping
(
"/count"
)
@GetMapping
(
"/count"
)
@ApiOperation
(
httpMethod
=
"GET"
,
value
=
"事件总次数统计"
,
notes
=
""
)
@ApiOperation
(
httpMethod
=
"GET"
,
value
=
"事件总次数统计"
,
notes
=
""
)
@ApiImplicitParams
({
@ApiImplicitParams
({
@ApiImplicitParam
(
name
=
"crossId"
,
value
=
"路口ID"
,
required
=
true
,
dataType
=
"
Integer
"
,
defaultValue
=
"13N8J0B5P10"
),
@ApiImplicitParam
(
name
=
"crossId"
,
value
=
"路口ID"
,
required
=
true
,
dataType
=
"
String
"
,
defaultValue
=
"13N8J0B5P10"
),
@ApiImplicitParam
(
name
=
"eventType"
,
value
=
"事件类型 701:空放 702:失衡 703:溢出"
,
required
=
fals
e
,
dataType
=
"String"
,
defaultValue
=
"701"
),
@ApiImplicitParam
(
name
=
"eventType"
,
value
=
"事件类型 701:空放 702:失衡 703:溢出"
,
required
=
tru
e
,
dataType
=
"String"
,
defaultValue
=
"701"
),
@ApiImplicitParam
(
name
=
"startTime"
,
value
=
"截止时间,格式:yyyy-MM-dd HH:mm:ss"
,
required
=
fals
e
,
dataType
=
"String"
,
defaultValue
=
"2025-01-05 00:00:00"
),
@ApiImplicitParam
(
name
=
"startTime"
,
value
=
"截止时间,格式:yyyy-MM-dd HH:mm:ss"
,
required
=
tru
e
,
dataType
=
"String"
,
defaultValue
=
"2025-01-05 00:00:00"
),
@ApiImplicitParam
(
name
=
"endTime"
,
value
=
"截止时间,格式:yyyy-MM-dd HH:mm:ss"
,
required
=
fals
e
,
dataType
=
"String"
,
defaultValue
=
"2025-01-05 23:59:59"
),
@ApiImplicitParam
(
name
=
"endTime"
,
value
=
"截止时间,格式:yyyy-MM-dd HH:mm:ss"
,
required
=
tru
e
,
dataType
=
"String"
,
defaultValue
=
"2025-01-05 23:59:59"
),
})
})
@ApiResponses
({
@ApiResponses
({
...
@@ -67,10 +67,10 @@ public class EventController {
...
@@ -67,10 +67,10 @@ public class EventController {
@GetMapping
(
"/distribute"
)
@GetMapping
(
"/distribute"
)
@ApiOperation
(
httpMethod
=
"GET"
,
value
=
"空放、失衡、溢出事件分布情况"
,
notes
=
""
)
@ApiOperation
(
httpMethod
=
"GET"
,
value
=
"空放、失衡、溢出事件分布情况"
,
notes
=
""
)
@ApiImplicitParams
({
@ApiImplicitParams
({
@ApiImplicitParam
(
name
=
"crossId"
,
value
=
"路口ID"
,
required
=
true
,
dataType
=
"
Integer
"
,
defaultValue
=
"13N8J0B5P10"
),
@ApiImplicitParam
(
name
=
"crossId"
,
value
=
"路口ID"
,
required
=
true
,
dataType
=
"
String
"
,
defaultValue
=
"13N8J0B5P10"
),
// @ApiImplicitParam(name = "eventType", value = "事件类型 701:空放 702:失衡 703:溢出", required = false, dataType = "String",defaultValue = "701"),
// @ApiImplicitParam(name = "eventType", value = "事件类型 701:空放 702:失衡 703:溢出", required = false, dataType = "String",defaultValue = "701"),
@ApiImplicitParam
(
name
=
"startTime"
,
value
=
"截止时间,格式:yyyy-MM-dd HH:mm:ss"
,
required
=
fals
e
,
dataType
=
"String"
,
defaultValue
=
"2025-01-05 00:00:00"
),
@ApiImplicitParam
(
name
=
"startTime"
,
value
=
"截止时间,格式:yyyy-MM-dd HH:mm:ss"
,
required
=
tru
e
,
dataType
=
"String"
,
defaultValue
=
"2025-01-05 00:00:00"
),
@ApiImplicitParam
(
name
=
"endTime"
,
value
=
"截止时间,格式:yyyy-MM-dd HH:mm:ss"
,
required
=
fals
e
,
dataType
=
"String"
,
defaultValue
=
"2025-01-05 23:59:59"
),
@ApiImplicitParam
(
name
=
"endTime"
,
value
=
"截止时间,格式:yyyy-MM-dd HH:mm:ss"
,
required
=
tru
e
,
dataType
=
"String"
,
defaultValue
=
"2025-01-05 23:59:59"
),
})
})
@ApiResponses
({
@ApiResponses
({
...
...
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