Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
open-source
/
chejia-smart-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 57ba871d
authored
Apr 14, 2021
by
111-PC\111
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
[+]产品名称修改
1 parent
6a5bc7fd
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
2 deletions
src/main/java/com/glsx/smart/pojo/ResponseVo.java
src/main/java/com/glsx/smart/service/impl/SmartSceneServiceImpl.java
src/main/java/com/glsx/smart/pojo/ResponseVo.java
View file @
57ba871
...
...
@@ -14,4 +14,13 @@ public class ResponseVo {
private
String
message
;
private
String
msg
;
@Override
public
String
toString
()
{
return
"ResponseVo{"
+
"code='"
+
code
+
'\''
+
", message='"
+
message
+
'\''
+
", msg='"
+
msg
+
'\''
+
'}'
;
}
}
src/main/java/com/glsx/smart/service/impl/SmartSceneServiceImpl.java
View file @
57ba871
...
...
@@ -229,7 +229,7 @@ public class SmartSceneServiceImpl extends BaseService implements SmartSceneServ
// 下发普通指令
jsonObject
=
HttpUtil
.
sendPost
(
orderIssueurl
.
replace
(
"{device_id}"
,
devideId
),
JSONObject
.
toJSONString
(
ordermaps
),
new
HashMap
<>());
}
else
{
ordermap
.
put
(
"key"
,
executeTaskVo
.
getOrder
());
ordermap
.
put
(
"key"
,
executeTaskVo
.
getOrder
Val
());
// 下发红外遥控指令
jsonObject
=
HttpUtil
.
sendPost
(
instructionInfIssue
.
replace
(
"{remote_id}"
,
remoteId
).
replace
(
"{infrared_id}"
,
devideId
),
JSONObject
.
toJSONString
(
ordermap
),
new
HashMap
<>());
}
...
...
@@ -315,7 +315,6 @@ public class SmartSceneServiceImpl extends BaseService implements SmartSceneServ
messageBoxInfo
.
setContent
(
msg
);
messageBoxInfo
.
setTitle
(
title
);
messageBoxInfo
.
setExpandId
(
id
.
intValue
());
messageBoxInfo
.
setType
(
MessageBoxTypeEnum
.
SYSTEM
.
getValue
());
messageBoxInfo
.
setIsPushSuccess
(
MessagePushResultEnum
.
FAILURE
.
getValue
());
messageBoxInfoRemote
.
insert
(
messageBoxInfo
);
...
...
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