Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
open-source
/
smartDevices-platform-service
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 fa1fe9fd
authored
Apr 29, 2021
by
111-PC\111
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
[+]aqara代码提交
1 parent
7123d98e
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
src/main/java/cn/com/glsx/modules/service/DeviceService.java
src/main/java/cn/com/glsx/modules/service/DeviceService.java
View file @
fa1fe9f
...
@@ -119,7 +119,7 @@ public class DeviceService extends BaseDeviceService {
...
@@ -119,7 +119,7 @@ public class DeviceService extends BaseDeviceService {
*/
*/
@Override
@Override
public
R
instructionInfIssue
(
RemoteRequest
remoteRequest
)
{
public
R
instructionInfIssue
(
RemoteRequest
remoteRequest
)
{
ResponseBody
responseBody
=
sendRequestService
.
sendRequestPost
(
instructionInfIssue
.
replace
(
"{remote_id}"
,
remoteRequest
.
getRemoteId
()).
replace
(
"{infrared_id}"
,
remoteRequest
.
get
Remot
eId
()),
remoteRequest
.
getData
());
ResponseBody
responseBody
=
sendRequestService
.
sendRequestPost
(
instructionInfIssue
.
replace
(
"{remote_id}"
,
remoteRequest
.
getRemoteId
()).
replace
(
"{infrared_id}"
,
remoteRequest
.
get
Devic
eId
()),
remoteRequest
.
getData
());
if
(
responseBody
!=
null
&&
responseBody
.
isSuccess
())
{
if
(
responseBody
!=
null
&&
responseBody
.
isSuccess
())
{
return
R
.
ok
();
return
R
.
ok
();
}
}
...
...
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