feat(iit-manager): Add WeChat Official Account integration for patient notifications
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
This commit is contained in:
1
redcap-docker-dev/.gitattributes
vendored
1
redcap-docker-dev/.gitattributes
vendored
@@ -35,3 +35,4 @@
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
1
redcap-docker-dev/.gitignore
vendored
1
redcap-docker-dev/.gitignore
vendored
@@ -66,3 +66,4 @@ Desktop.ini
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -367,3 +367,4 @@ docker-compose -f docker-compose.prod.yml up -d
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -128,3 +128,4 @@ volumes:
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -126,3 +126,4 @@ volumes:
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -62,3 +62,4 @@ PMA_UPLOAD_LIMIT=50M
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -70,3 +70,4 @@ Write-Host ""
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -48,3 +48,4 @@ try {
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -61,3 +61,4 @@ Write-Host ""
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -24,3 +24,4 @@ if ($result) {
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -46,3 +46,4 @@ if ($LASTEXITCODE -eq 0) {
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -32,3 +32,4 @@ if ($LASTEXITCODE -eq 0) {
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user