接入服务号模板推送通知
This commit is contained in:
@@ -22,7 +22,7 @@ from handlers.prompt_sound_handler import handle_prompt_sound_request
|
||||
from handlers.session_cleanup_handler import handle_old_session_cleanup
|
||||
from config import settings
|
||||
from banban.service.im import im_service as im_conversation_service
|
||||
from banban.service.sms_notification import sms_notification_service
|
||||
from banban.service.wechat_mp_notification import wechat_mp_notification_service
|
||||
from utils.audio_format import detect_audio_format, wrap_pcm_as_wav
|
||||
from fastapi import HTTPException
|
||||
|
||||
@@ -302,7 +302,7 @@ async def process_parent_leave_message(device_id: str, audio_cache_key: str):
|
||||
},
|
||||
audio_content=archive_audio,
|
||||
)
|
||||
sms_notification_service.schedule_leave_message_notification(
|
||||
wechat_mp_notification_service.schedule_leave_message_notification(
|
||||
device_id=device_id,
|
||||
child_name=device_identity.child_name,
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user