mirror of
https://github.com/zongzibinbin/MallChat.git
synced 2026-03-13 21:53:41 +08:00
feat:ws握手同时认证
This commit is contained in:
@@ -26,7 +26,7 @@ public class JwtUtils {
|
||||
/**
|
||||
* token秘钥,请勿泄露,请勿随便修改
|
||||
*/
|
||||
@Value("jwt.secret")
|
||||
@Value("${mallchat.jwt.secret}")
|
||||
private String secret;
|
||||
|
||||
private static final String UID_CLAIM = "uid";
|
||||
|
||||
Reference in New Issue
Block a user