Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
黄嘉阳
/
iot-platform-server
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
a6b2acac
authored
Nov 10, 2023
by
huangjy
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
fix:设备写入失败提示语
parent
756e8dd7
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
server-common/src/main/java/com/makeit/module/iot/service/IotDevicePropertiesOperateService.java
server-common/src/main/java/com/makeit/module/iot/service/IotDevicePropertiesOperateService.java
View file @
a6b2acac
...
...
@@ -91,7 +91,7 @@ public class IotDevicePropertiesOperateService extends IotCommonService {
ResponseMessage
responseMessage
=
sendPut
(
url
,
request
);
log
.
info
(
"写入设备属性信息,返回信息:{}"
,
responseMessage
.
getMessage
());
if
(
responseMessage
.
getStatus
()
!=
200
)
{
String
errorMsg
=
"设备:"
+
deviceId
+
",属性:"
+
entry
.
getKey
()
+
"写入失败:"
+
responseMessage
.
getMessage
();
String
errorMsg
=
responseMessage
.
getMessage
();
log
.
error
(
"设备写入失败:{}"
,
errorMsg
);
return
errorMsg
;
}
...
...
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