优化代码

This commit is contained in:
RuoYi
2024-11-06 22:06:44 +08:00
parent eb2e089d57
commit 1f0eb72a58
4 changed files with 3 additions and 8 deletions

View File

@@ -20,7 +20,7 @@ public class SecurityConstants
/**
* 授权信息字段
*/
public static final String AUTHORIZATION_HEADER = "authorization";
public static final String AUTHORIZATION_HEADER = "Authorization";
/**
* 请求来源

View File

@@ -7,11 +7,6 @@ package com.ruoyi.common.core.constant;
*/
public class TokenConstants
{
/**
* 令牌自定义标识
*/
public static final String AUTHENTICATION = "Authorization";
/**
* 令牌前缀
*/