From 572c8850dce93f3107fd276d57876dd35976fbce Mon Sep 17 00:00:00 2001 From: davidche <davidche@outlook.com> Date: 星期三, 13 十二月 2023 13:48:04 +0800 Subject: [PATCH] fix bug #1208 修复拉流代理启用状态下调用启用接口的返回错误 --- src/main/java/com/genersoft/iot/vmp/conf/security/dto/JwtUser.java | 10 ++++++++++ 1 files changed, 10 insertions(+), 0 deletions(-) diff --git a/src/main/java/com/genersoft/iot/vmp/conf/security/dto/JwtUser.java b/src/main/java/com/genersoft/iot/vmp/conf/security/dto/JwtUser.java index 1639d1f..8921a30 100644 --- a/src/main/java/com/genersoft/iot/vmp/conf/security/dto/JwtUser.java +++ b/src/main/java/com/genersoft/iot/vmp/conf/security/dto/JwtUser.java @@ -25,6 +25,8 @@ private String password; + private int roleId; + private TokenStatus status; public String getUserName() { @@ -50,4 +52,12 @@ public void setPassword(String password) { this.password = password; } + + public int getRoleId() { + return roleId; + } + + public void setRoleId(int roleId) { + this.roleId = roleId; + } } -- Gitblit v1.8.0