Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Q
qg-push
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
head_group
qg-push
Commits
fe6950ed
Commit
fe6950ed
authored
Oct 31, 2022
by
李健华
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'feature/bussiness-msg-push-20220906' into 'master'
去掉注释 See merge request
!6
parents
7ab18c50
2910f436
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
7 deletions
+7
-7
WebsocketMessageHandler.java
...n/java/cn/quantgroup/handler/WebsocketMessageHandler.java
+7
-7
No files found.
src/main/java/cn/quantgroup/handler/WebsocketMessageHandler.java
View file @
fe6950ed
...
...
@@ -67,13 +67,13 @@ public class WebsocketMessageHandler {
this
.
sendResponse
(
ctx
,
request
,
new
DefaultFullHttpResponse
(
request
.
protocolVersion
(),
HttpResponseStatus
.
BAD_REQUEST
,
ctx
.
alloc
().
buffer
()));
ctx
.
close
();
}
//
String supplierCode = stmsServer.getStmsTokenInfo(paramMap.get("token"));
String
supplierCode
=
"self_40"
;
//
if (null == supplierCode) {
//
this.sendResponse(ctx, request, new DefaultFullHttpResponse(request.protocolVersion(), HttpResponseStatus.FORBIDDEN, ctx.alloc().buffer()));
//
ctx.close();
//
return;
//
}
String
supplierCode
=
stmsServer
.
getStmsTokenInfo
(
paramMap
.
get
(
"token"
));
//
String supplierCode = "self_40";
if
(
null
==
supplierCode
)
{
this
.
sendResponse
(
ctx
,
request
,
new
DefaultFullHttpResponse
(
request
.
protocolVersion
(),
HttpResponseStatus
.
FORBIDDEN
,
ctx
.
alloc
().
buffer
()));
ctx
.
close
();
return
;
}
String
mdString
=
paramMap
.
get
(
"channelId"
)
+
"-"
+
supplierCode
;
String
relationKey
=
Md5Utils
.
MD5Encode
(
mdString
);
online
(
relationKey
,
ctx
.
channel
());
...
...
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