- 配置Spring Mail发送通知邮件,支持环境变量配置SMTP参数 - 添加notification-center和feedback-notification模块开关及配置 - 集成MinIO作为业务附件对象存储,支持采购文档、供应商执照等文件存储 - 修改AssistantAttachmentService使用对象存储保存AI助手附件 - 更新FeedbackImageStorage使用对象存储管理反馈图片 - 改进FileUploadUtils和FileUtils使用对象存储处理文件上传下载 - 扩展PurchaseDocumentService和SupplierLicenseService支持对象存储 - 添加WmsBatchImportServiceImpl对批量导入文件的对象存储支持 - 实现ExcelUtil导出时可选存储到对象存储而非本地文件系统 - 增加SysFeedbackService反馈提交后的邮件通知功能 - 添加用户反馈组件的通知设置界面和通知详情展示 - 创建sys_feedback_notify_route和sys_feedback_notification数据表 - 创建sys_notification_event和sys_notification_delivery数据表 - 添加BusinessAttachmentMinioLiveTest集成测试用例
17 lines
892 B
Plaintext
17 lines
892 B
Plaintext
# Spring Boot 3.5 / Jakarta Mail; never reuse javax.mail dependencies.
|
|
MAIL_HOST=smtp.qq.com
|
|
MAIL_PORT=587
|
|
MAIL_USERNAME=
|
|
MAIL_PASSWORD=
|
|
MAIL_ENABLED=false
|
|
# Apply sql/projectdev/20261016_feedback_mail.sql to the intended environment first.
|
|
# This migration currently guards cmvr-project-dev; production is intentionally not enabled.
|
|
FEEDBACK_NOTIFICATION_ENABLED=false
|
|
FEEDBACK_NOTIFICATION_ENV=dev
|
|
NOTIFICATION_CENTER_ENABLED=false
|
|
# Initialize sql/projectdev/20261016_notification_center.sql in the dev database before enabling.
|
|
# NotificationGateway and NotificationPolicy live in ruoyi-common; implementations live in ruoyi-system.
|
|
# New business sources register a NotificationPolicy bean; unregistered sources are denied.
|
|
# Admin: User feedback -> Notification settings -> choose roles per module.
|
|
# Default is manual preview/send. Role membership never grants additional data access.
|