config(session): 禁用会话持久化并添加用户头像上传路径配置

- 禁用会话持久化,避免启动时恢复损坏的会话文件
- 添加 userIconPath 配置项用于用户头像上传路径
- 在开发环境配置中同步添加用户头像路径配置
This commit is contained in:
wangzhiwei 2026-04-21 09:59:46 +08:00
parent 891f60d5a5
commit eef2b68291
2 changed files with 5 additions and 0 deletions

View File

@ -104,6 +104,7 @@ jetcache:
web: web:
upload: upload:
path: /kexue/agentSkills/upload/ path: /kexue/agentSkills/upload/
userIconPath: /kexue/agentSkills/resources/userIcons
payment: payment:
# 微信支付配置 # 微信支付配置

View File

@ -4,6 +4,9 @@ spring:
application: application:
name: agentSkills name: agentSkills
version: 1.0.0 version: 1.0.0
# 禁用会话持久化,避免启动时恢复损坏的会话文件
session:
store-type: none
mvc: mvc:
pathmatch: pathmatch:
matching-strategy: ANT_PATH_MATCHER matching-strategy: ANT_PATH_MATCHER
@ -93,6 +96,7 @@ sms:
web: web:
upload: upload:
path: /kexue/agentSkills/upload/ path: /kexue/agentSkills/upload/
userIconPath: /kexue/agentSkills/resources/userIcons
# 雪花算法配置 # 雪花算法配置
snowflake: snowflake: