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 ecc586e6
authored
Apr 14, 2021
by
wnb0128
Browse Files
Options
Browse Files
Tag
Download
Plain Diff
Merge branch 'dev' of 192.168.3.233:open-source/chejia-smart-service into dev
2 parents
0c8951f1
6f86fcdd
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
1 deletions
src/main/java/com/glsx/smart/controller/RemoteProductController.java
src/main/java/com/glsx/smart/service/impl/SmartProductTypeServiceImpl.java
src/main/java/com/glsx/smart/controller/RemoteProductController.java
View file @
ecc586e
...
...
@@ -59,6 +59,7 @@ public class RemoteProductController {
if
(
user
==
null
){
return
null
;
}
Byte
status
=
request
.
getStatus
()
!=
null
?
request
.
getStatus
()
:
-
1
;
return
this
.
getRemoteDevice
(
user
.
getThirdId
(),
status
);
}
...
...
src/main/java/com/glsx/smart/service/impl/SmartProductTypeServiceImpl.java
View file @
ecc586e
...
...
@@ -209,7 +209,7 @@ public class SmartProductTypeServiceImpl extends BaseService implements SmartPro
RemoteDeviceResp
resp
=
new
RemoteDeviceResp
();
resp
.
setProductId
(
productId
);
resp
.
setUuid
(
object
.
getString
(
"id"
));
resp
.
setProductName
(
object
.
getString
(
"product_name"
));
resp
.
setProductName
(
product
.
getProductName
(
));
resp
.
setIconUrl
(
product
.
getIconUrl
());
boolean
flag
=
productType
.
getTypeName
().
contains
(
Constants
.
DEFAULT_DEVICE
)
?
true
:
false
;
resp
.
setFlag
(
flag
);
...
...
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