日常事务-处分管理 添加印章图片签名验证功能

- 实现了图片签名工具类ImageSignUtils,支持生成和验证带时间戳的签名URL
- 配置SecurityConfig允许匿名访问签名的印章图片URL,但Base64接口需认证
- 创建StampController提供受保护的印章图片访问接口
- 将应用默认文件路径配置改为Windows环境路径
- 支持通过签名URL安全访问印章图片资源
This commit is contained in:
2026-03-20 11:48:37 +08:00
parent e43637894b
commit f99b4621d2
4 changed files with 183 additions and 1 deletions

View File

@@ -9,7 +9,7 @@ srs:
# 实例演示开关
demoEnabled: true
# 文件路径 示例( Windows配置D:/srs/uploadPath,Linux配置 /home/srs/uploadPath)#D:/srs/uploadPath
profile: /usr/local/java/srs/uploadPath #/usr/local/java/srs/uploadPath
profile: D:/srs/uploadPath #/usr/local/java/srs/uploadPath
#profile: D:/srs/uploadPath #/srs/uploadPath
# 获取ip地址开关
addressEnabled: false