Skip to content

Commit

Permalink
设置token
Browse files Browse the repository at this point in the history
  • Loading branch information
noseparte committed Aug 28, 2023
1 parent 4167ef4 commit 329de8b
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,8 @@ private void doTask() {
if(!Constants.LOGIN.equals(message.getType())) {
handlerService.verify(channel, message);
}
//设置token
channel.attr(SessionKey.TOKEN).set(message.getToken());
try {
method.invoke(handlerService, channel, message);
} catch (Exception e) {
Expand Down

0 comments on commit 329de8b

Please sign in to comment.