feat:ws握手同时认证

This commit is contained in:
zbzbzzz
2023-07-01 16:58:32 +08:00
parent b40287a622
commit 0cc840cadf
5 changed files with 50 additions and 6 deletions

View File

@@ -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";