diff --git a/ruoyi-admin/src/main/resources/application.yml b/ruoyi-admin/src/main/resources/application.yml index d92c1ae..716ec57 100644 --- a/ruoyi-admin/src/main/resources/application.yml +++ b/ruoyi-admin/src/main/resources/application.yml @@ -8,8 +8,8 @@ ruoyi: copyrightYear: 2024 # 实例演示开关 demoEnabled: false - # 文件路径 示例( Windows配置D:/ruoyi/uploadPath,Linux配置 /home/ruoyi/uploadPath) - profile: /home/zhky/uploadPath + # 文件路径 示例( Windows配置D:/ruoyi/uploadPath,Linux配置 /usr/local/zhky/uploadPath) + profile: D:/ruoyi/uploadPath # 获取ip地址开关 addressEnabled: false @@ -127,7 +127,7 @@ shiro: # 相隔多久检查一次session的有效性,默认就是10分钟 validationInterval: 10 # 同一个用户最大会话数,比如2的意思是同一个账号允许最多同时两个人登录(默认-1不限制) - maxSession: -1 + maxSession: 1 # 踢出之前登录的/之后登录的用户,默认踢出之前登录的用户 kickoutAfter: false rememberMe: