Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
eshiled-new
/
ne-shield-devicemonitor-api
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit a1aa7b36
authored
Sep 29, 2021
by
杨林龙
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
添加feign参数注解
1 parent
cc93a3a7
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
src/main/java/cn/com/glsx/devicemonitor/api/feign/DeviceFeignService.java
src/main/java/cn/com/glsx/devicemonitor/api/feign/DeviceFeignService.java
View file @
a1aa7b3
...
...
@@ -40,16 +40,18 @@ public interface DeviceFeignService {
* @return
*/
@GetMapping
(
value
=
"/getDeviceStatusBySn"
)
R
<
DeviceStatusModel
>
getDeviceStatusBySn
(
@RequestParam
(
value
=
"sn"
)
String
sn
,
Long
offlineTime
);
R
<
DeviceStatusModel
>
getDeviceStatusBySn
(
@RequestParam
(
value
=
"sn"
)
String
sn
,
@RequestParam
(
value
=
"offlineTime"
,
required
=
false
)
Long
offlineTime
);
/**
* 批量获取设备状态
*
* @param sns
* @param offlineTime 单位毫秒
* @return
*/
@PostMapping
(
value
=
"listDeviceStatusBySns"
)
R
<
List
<
DeviceStatusModel
>>
listDeviceStatusBySns
(
@RequestParam
(
value
=
"sns"
)
Collection
<
String
>
sns
,
Long
offlineTime
);
R
<
List
<
DeviceStatusModel
>>
listDeviceStatusBySns
(
@RequestParam
(
value
=
"sns"
)
Collection
<
String
>
sns
,
@RequestParam
(
value
=
"offlineTime"
,
required
=
false
)
Long
offlineTime
);
/**
* 获取设备上点总个数
*
...
...
Write
Preview
Markdown
is supported
Attach a file
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 post a comment