fix: 修复对话时无法上传文件

This commit is contained in:
ageer
2025-05-24 23:59:40 +08:00
parent 2884c37599
commit bedffffd86
4 changed files with 13 additions and 31 deletions

View File

@@ -131,6 +131,8 @@ security:
- /auth/reset/password
# 聊天接口
- /chat/send
# 文件上传
- /chat/upload
# 静态资源
- /*.html
- /**/*.html
@@ -293,26 +295,6 @@ websocket:
# 设置访问源地址
allowedOrigins: '*'
# 微信小程序配置信息
wx:
miniapp:
configs:
- appid: # 你的appid
secret: # 你的secret
token: #微信小程序消息服务器配置的token
aesKey: #微信小程序消息服务器配置的EncodingAESKey
msgDataFormat: JSON
# 企业微信应用
wechat:
cp:
corpId:
appConfigs:
- agentId:
secret: ''
token: ''
aesKey: ''
spring:
ai:
openai: