Features: - PatientWechatCallbackController for URL verification and message handling - PatientWechatService for template and customer messages - Support for secure mode (message encryption/decryption) - Simplified route /wechat/patient/callback for WeChat config - Event handlers for subscribe/unsubscribe/text messages - Template message for visit reminders Technical details: - Reuse @wecom/crypto for encryption (compatible with Official Account) - Relaxed Fastify schema validation to prevent early request blocking - Access token caching (7000s with 5min pre-refresh) - Comprehensive logging for debugging Testing: Local URL verification passed, ready for SAE deployment Status: Code complete, waiting for WeChat platform configuration
70 lines
876 B
Plaintext
70 lines
876 B
Plaintext
# REDCap Docker环境 - Git忽略文件
|
||
# 版本:v1.0
|
||
# 日期:2026-01-01
|
||
|
||
# ========== 环境变量文件(包含敏感信息) ==========
|
||
.env
|
||
.env.local
|
||
.env.*.local
|
||
|
||
# ========== Docker数据卷挂载点(如使用本地挂载) ==========
|
||
data/
|
||
mysql-data/
|
||
edocs/
|
||
temp/
|
||
modules/
|
||
|
||
# ========== SSL证书(敏感) ==========
|
||
ssl/
|
||
*.crt
|
||
*.key
|
||
*.pem
|
||
|
||
# ========== 日志文件 ==========
|
||
logs/
|
||
*.log
|
||
|
||
# ========== 备份文件 ==========
|
||
backups/
|
||
*.sql
|
||
*.tar
|
||
*.tar.gz
|
||
*.zip
|
||
|
||
# ========== 临时文件 ==========
|
||
tmp/
|
||
temp/
|
||
*.tmp
|
||
*.swp
|
||
*~
|
||
|
||
# ========== IDE配置 ==========
|
||
.vscode/
|
||
.idea/
|
||
*.code-workspace
|
||
|
||
# ========== 操作系统文件 ==========
|
||
# Windows
|
||
Thumbs.db
|
||
Desktop.ini
|
||
|
||
# macOS
|
||
.DS_Store
|
||
.AppleDouble
|
||
.LSOverride
|
||
|
||
# ========== 其他 ==========
|
||
# 不要忽略README.md
|
||
!README.md
|
||
|
||
# 不要忽略配置模板
|
||
!env.template
|
||
!*.example
|
||
!*.template
|
||
|
||
|
||
|
||
|
||
|
||
|