Files
BOSS/BOSSBackEnd/src/main/resources/application.yml
RichZDS 6cc2725923 feat(ai): 集成DeepSeek AI优化简历功能
- 配置DeepSeek AI相关依赖和配置项
- 创建ChatController提供AI聊天测试接口
- 实现AiService和AiServiceImpl提供AI优化服务
- 添加ResumeAiOptimizeRequest和ResumeAiOptimizeVO数据传输对象
- 在ResumeController中添加AI优化简历的API端点
- 前端ResumeEdit页面集成AI优化按钮和进度显示
- 实现前端调用AI优化接口并更新表单内容
- 添加AI优化相关的样式和交互效果
2026-01-15 00:03:43 +08:00

94 lines
2.0 KiB
YAML
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
server:
port: 8081
servlet:
session:
cookie:
max-age: 2592000s
spring:
servlet:
multipart:
enabled: true
max-file-size: 10MB
max-request-size: 10MB
file-size-threshold: 1MB
resolve-lazily: true # 延迟解析,避免提前解析导致 boundary 错误
session:
store-type: redis
timeout: 30d
application:
name: BOSS
ai:
deepseek:
api-key:
base-url: https://api.deepseek.com
chat:
options:
model: deepseek-chat
datasource:
driver-class-name: com.mysql.cj.jdbc.Driver
url: jdbc:mysql://127.0.0.1:3306/boss?useUnicode=true&characterEncoding=utf8&useSSL=false&serverTimezone=Asia/Shanghai&allowPublicKeyRetrieval=true
username: root
password: 123456
hikari:
maximum-pool-size: 20
minimum-idle: 5
connection-timeout: 30000
data:
redis:
host: 127.0.0.1
port: 6379
database: 0
password: ""
timeout: 5s
lettuce:
pool:
max-active: 16
max-idle: 8
min-idle: 0
max-wait: 2s
# 关闭自动数据库初始化
sql:
init:
mode: never
mybatis-plus:
configuration:
map-underscore-to-camel-case: true
log-impl: org.apache.ibatis.logging.stdout.StdOutImpl
global-config:
db-config:
logic-delete-field: isDelete # 全局逻辑删除字段名
logic-delete-value: 1 # 逻辑已删除值
logic-not-delete-value: 0 # 逻辑未删除值
logging:
level:
root: info
com.zds.boss.mapper: debug
# 本地文件存储配置
file:
# 文件存储路径(相对于项目根目录)
storage:
path: src/main/resources/static
# 最大文件大小MB
max-size-mb: 10
# 腾讯云COS配置
cos:
# 密钥ID
secret-id:
# 密钥Key生产环境请使用环境变量或配置中心
secret-key:
# 地域
region: ap-shanghai
# 存储桶名称
bucket-name: bosss-1336488383
# 访问域名前缀
url-prefix: https://bosss-1336488383.cos.ap-shanghai.myqcloud.com