Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
open-source
/
glsx-smart-message-channel
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 3af60634
authored
Apr 25, 2021
by
111-PC\111
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
[+]pulsar消费服务
1 parent
5574cb33
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
src/main/java/cn/com/glsx/consumer/service/InfoService.java
src/main/java/cn/com/glsx/consumer/service/InfoService.java
View file @
3af6063
...
@@ -244,8 +244,10 @@ public class InfoService {
...
@@ -244,8 +244,10 @@ public class InfoService {
private
DeviceVo
convervo
(
DeviceEvent
deviceEvent
)
{
private
DeviceVo
convervo
(
DeviceEvent
deviceEvent
)
{
DeviceVo
deviceVo
=
new
DeviceVo
();
DeviceVo
deviceVo
=
new
DeviceVo
();
DeviceEventDetail
bizData
=
deviceEvent
.
getBizData
();
DeviceEventDetail
bizData
=
deviceEvent
.
getBizData
();
String
name
=
deviceService
.
getDeviceName
(
bizData
.
getDevId
());
if
(
deviceEvent
.
getBizCode
().
equals
(
"bindUser"
))
{
deviceVo
.
setDeviceName
(
name
);
String
name
=
deviceService
.
getDeviceName
(
bizData
.
getDevId
());
deviceVo
.
setDeviceName
(
name
);
}
deviceVo
.
setUid
(
bizData
.
getUid
());
deviceVo
.
setUid
(
bizData
.
getUid
());
deviceVo
.
setPlatformProductId
(
deviceEvent
.
getProductKey
());
deviceVo
.
setPlatformProductId
(
deviceEvent
.
getProductKey
());
deviceVo
.
setChannel
(
1
);
deviceVo
.
setChannel
(
1
);
...
...
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