返回响应头增加x-token,通过记住我登录系统时使用。

This commit is contained in:
thinkgem
2024-03-13 13:18:44 +08:00
parent 40cab1f49e
commit debc349810
4 changed files with 4 additions and 4 deletions

View File

@@ -406,7 +406,7 @@ shiro:
# 允许跨域访问时 CORS可以获取和返回的方法和请求头
#accessControlAllowMethods: GET, POST, OPTIONS
#accessControlAllowHeaders: content-type, x-requested-with, x-ajax, x-token, x-remember
#accessControlExposeHeaders: x-remember
#accessControlExposeHeaders: x-token, x-remember
# 是否允许接收跨域的Cookie凭证数据 CORS
#accessControlAllowCredentials: false